- Copy
.env.sample
to same location and rename it to.env
- Create database with name set in the
.env
file with keyDB_NAME_DEVELOPMENT
- Run the command
npm install
- To run the server in the watch mode, use command
npm run start:dev
ref
npm install --save sequelize sequelize-typescript pg-hstore pg
npm install --save-dev @types/sequelize
ref: setup Sequelize migration in a NestJS Project
npm i -g @nestjs/cli
- Create many to many relation between
User
andEducationInstitute
- create
POST education-institutes/
- create
POST users/education-institute
- create