vue-type-graphql-example
vue-type-graphql-example copied to clipboard
Book management system with NodeJS & TypeScript & GraphQL & Vue
Book Management System.
- Author : Seolhun
- Date : 2017.10.19
Used Stacks
TypeScriptNodeJS,ExpressVue-CliGraphQLApollo ClientSequelize
Commit Convention
- Server : [Server]
- Client : [Cient]
- Contents
- GraphQL
- Vue
- Test
- ...
How to run
Server
$ cd server
$ yarn install
$ yarn dev
- Docker
$ yarn install
$ docker-compose up -d
- NPM scripts
$ yarn dev
DB
1.Create Default database using Raw SQL.
/src/config/db/default.sql
- Set Database configuration.
/server/src/config/database/index.ts
- Set
SyncDatabase config
sequelize.sync()- create & updatesequelize.sync({force: true})- create & drop
Client
$ cd client
$ yarn install
$ yarn dev
