Uptime monitoring RESTful API server that allows authenticated users to monitor URLs, and get detailed uptime reports about their availability, average response time, and total uptime/downtime.
These steps will get you a copy of the project up and running for development and testing purposes.
- Install Nodejs latest stable version
- Install npm latest stable version
- Install mongoDB latest stable version
- Install redis latest stable version
- Optional Step ⇒ You can install MongoDB Compass [any user interface application for MongoDB] as it offers a user interface for dealing with the database
- Clone the Project
- Run the following commands:
npm install cp .env.example .env
- write required variables in .env
- for running localy
npm run start
- for testing
npm run test
- for build
npm run build
npm run start:prod
- write required variables in docker-compose.yml
- Run the following commands:
docker-compose up
- increase test coverage
- deploy app
- handle owasp vulnerabilities