Completed for the Database Systems module
Swagger REST API:
The modified ER diagram:
- Triggers
- Functions
- Views
- Stored procedures
- Indexing
- Using transactions where necessary
- Node Express REST api
- Using promises
- API Documentation with
Swagger
(Open API 2.0) - Centralized error handling
- Passwords hashing using
bcrypt
- Authentication with jwt
- User input validation using
hapi/joi
- Uses
promise-mysql
and connection pooling - Load balancing using
pm2
process management Grafana
for Realtime Report generation
-
Import the sql file at dbBackup folder to your mysql server
-
Add your database credentials to db.conf.json
-
Run the project in dev mode with
nodemon
-> npm run dev
OR with node-> npm start
-
Install Grafana and import the dashboards
npm install
Uses nodemon
npm dev
Uses pm2
npm start