- Author : Seolhun
- Date : 2017.10.19
TypeScript
NodeJS
,Express
Vue-Cli
GraphQL
Apollo Client
Sequelize
- Server : [Server]
- Client : [Cient]
- Contents
- GraphQL
- Vue
- Test
- ...
$ cd server
$ yarn install
$ yarn dev
- Docker
$ yarn install
$ docker-compose up -d
- NPM scripts
$ yarn dev
1.Create Default database using Raw SQL.
/src/config/db/default.sql
- Set Database configuration.
/server/src/config/database/index.ts
- Set
Sync
Database config
sequelize.sync()
- create & updatesequelize.sync({force: true})
- create & drop
$ cd client
$ yarn install
$ yarn dev