Skip to content

neilsharma2003/NestJS-Server-Monitor

Repository files navigation

Nest Logo

Description

NestJS API for Server Monitoring with instructions for use (using a pre-setup Postman workplace)

Use with Local Installation

Use Server Monitor Postman Collection to open the Postman Collection. Open the body for "Create User" and insert your credentials. Then, generate a JWT Token. You can then create a server monitor and configure your "options" (part of the fetch, where you can provide headers, CORS policy, HTTP method/request body, etc). Finally you start the server monitoring with associated email notifications. Please use the Delete Server Monitor GraphQL endpoint to delete your server monitor.

Basic ER Diagram for Database Schema

Screenshot

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov