Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Book management system with NodeJS & TypeScript & GraphQL & Vue

Notifications You must be signed in to change notification settings

Seolhun/vue-type-graphql-example

Repository files navigation

Waffle.io - Columns and their card count Greenkeeper badge

Book Management System.

  • Author : Seolhun
  • Date : 2017.10.19

Used Stacks

  1. TypeScript
  2. NodeJS, Express
  3. Vue-Cli
  4. GraphQL
  5. Apollo Client
  6. Sequelize

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

http://localhost:4000/graphql

DB

1.Create Default database using Raw SQL.

  • /src/config/db/default.sql
  1. Set Database configuration.
  • /server/src/config/database/index.ts
  1. Set Sync Database config
  • sequelize.sync() - create & update
  • sequelize.sync({force: true}) - create & drop

Client

$ cd client
$ yarn install
$ yarn dev

http://localhost:7000/

Reference