- Koajs web framework
- Sequelized for ORM operations
- Using bcrypt for encrypt passwords
- Basic-Auth based flow
Software you must have installed on your system
- NodeJS 14+
- npm
- nodemon for auto reload ( npm i -g nodemon )
Install Dependencies
npm install
Create postgresql database with the following name - (change credentials on the config.js file if you need)
sampledb
Run
npm run start:dev
For insert initial data, execute this function on server.js
initialdata.insertAllData();