The API is written using NestJS framework.
Sqlite - database with typeorm is used to manage the data.
Jest - is used as a testing framework to write end-to-end test cases.
Prettier - is used to lint the code properly.
The followings are the main modules of this Project.
Agent - a entity who can login and manage the system.
User - a entity who can login into system.
Role - each Agent has a role either Regular which can read or Admin which can read and write.
Permission - each Role has many permissions against each module with read and write type.
Bookings A entity which can be created by agent against a specific user.
yarn install
yarn start
# e2e tests
yarn test:e2e
Author - Sheikh Haris Zahid