- 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 installCreate postgresql database with the following name - (change credentials on the config.js file if you need)
sampledbRun
npm run start:devFor insert initial data, execute this function on server.js
initialdata.insertAllData();