Giter VIP home page Giter VIP logo

monitoring-app's Introduction

Bosta Task

Technologies

  • Express js
  • Mongo DB
  • Send in blue
  • Docker
  • Cron jobs

Installation and Run

Install docker and docker-compose before starting this installation process.

  1. Download The Repository Files
  2. Make Sure These Ports are available Port:3000(API) Port:27017 (DB)
  3. In the terminal run docker-compose up --build

Database

Description

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.

API Routes

There is a file collection.json file have all the routes with the required params

Registeration

Users

Create User

POST User
POST /api/users/

Verify your email address

POST /verify
POST /api/users/verify

Login

POST Login
POST /api/auth/login

Checks

Create A Check

POST /checks
POST /api/checks

Get All

GET /api/checks
GET /api/checks?token="your_auth_token"?

Get By Tag

GET /api/checks
GET /api/checks?token="your_auth_token"&tags=tag1,tag2,....

Reports

Get All

GET /api/reports
GET /api/reports?token="your_auth_token"

Get By Tag

GET /api/reports
GET /api/reports/token="your_auth_token"&tags=tag1,tag2,....?

monitoring-app's People

Contributors

ahmedabdelgawadfarag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.