npm install
Run following commands to migrate database
specify db username and password into src/config/config.json
npx sequelize db:create
npx sequelize db:migrate
npx sequelize db:seed:all // create admin( username:admin, password:@dmin12) user and modules( 10 records )
- http://143.110.183.85:3001/api/v1/admin/sign-in (params: username:admin, password:@dmin12)
- http://143.110.183.85:3001/api/v1/admin/assign-module (params: userID, moduleId)
- http://143.110.183.85:3001/api/v1/admin/unassign-module (params: userID, moduleId)
- http://143.110.183.85:3001/api/v1/admin/get-all-modules
- http://143.110.183.85:3001/api/v1/admin/list-users
- http://143.110.183.85:3001/api/v1/auth/sign-in (params: username, password)
- http://143.110.183.85:3001/api/v1/auth/sign-up (params: username, password)
- http://143.110.183.85:3001/api/v1/auth/get-modules