- Node installed
- Postgres database installed
- run 'npm i'
- Create database in pg-admin
- Open 'config/config.json' and ad the database credentials in the development, test and production
I have created migrations, seeders and seed data for testing. To use them you need the following commands:
- To make it simple, I have created scripts for the npx commands in the 'package.json'
- 'npm run make-model' // for creating a user model
- 'npm run migrate' // to migrate the model
- 'npm run seed' // to insert the default data(seed data) into the database
- Done, now you are ready to go!