skeleton app on NodeJS
1)Express 2)sequelize ORM 3)Postgres DB
npm i //Install dependencies
npm run pre-migrate //Create database if not exist in Postgres
npx sequelize db:migrate //Run migrations
npx sequelize db:seed:all //Run seeds with test data
npm run dev //Run project
all routes start at /api
npx sequelize migration:generate --name %Name%
src ┣ controllers ┃ ┗ *.controller.js ┣ database ┃ ┣ migrations ┃ ┃ ┗ *.js ┃ ┣ seeders ┃ ┃ ┗ *.js ┃ ┣ config.js ┃ ┣ createDB.js ┃ ┗ database.js ┣ models ┃ ┗ *.js ┣ routes ┃ ┣ index.js ┃ ┗ *.js ┣ app.js ┗ index.js