Steps to run this project:
- Run
npm i
command - Setup database settings inside
ormconfig.json
file - Run
npm start
command
Steps commands created project of zero:
- npm i -g typeorm ( global install package typeorm )
- typeorm init --name server --database postgres ( start project with typeorm )
- npx tsconfig.json (select option node )
- yarn upgrade-interactive --latest ( updates packages to the latest version )
- createdb course-graphql-4 ( create database )
- yarn add express apollo-server-express graphql
- yarn add -D @types/express @types/graphql