- Express js
- Mongo DB
- Send in blue
- Docker
- Cron jobs
Install docker and docker-compose before starting this installation process.
- Download The Repository Files
- Make Sure These Ports are available
Port:3000(API)
Port:27017 (DB)
- In the terminal run
docker-compose up --build
There are three different collections : Users
, Checks
and Reports
. with 1-N relationship between Users and Checks and 1-N relationship between Checks and Reports.
There is a file collection.json file have all the routes with the required params
Registeration
POST /api/users/
POST /api/users/verify
POST /api/auth/login
POST /api/checks
GET /api/checks?token="your_auth_token"?
GET /api/checks?token="your_auth_token"&tags=tag1,tag2,....
GET /api/reports?token="your_auth_token"
GET /api/reports/token="your_auth_token"&tags=tag1,tag2,....?