/uptime-monitoring-api-raw-nodejs

A RESTFul API to monitor up or down time of user defined links. This is a raw node.js project without using any third party modules or packages. Its a practice project for learning NodeJS with learnwithsumit youtube sereis.

Primary LanguageJavaScript

A RESTFul API to monitor up or down time of user defined links. This is a raw NodeJS project without using any third party modules or packages. Its a practice project for learning NodeJS with learnwithsumit youtube series.


Table of Contents

How to run

Please follow the below instructions to run this project in your machine:

New Users who never cloned this repository before

  1. Clone this repository
    git clone https://github.com/RatulAlMamun/uptime-monitoring-api-raw-nodejs.git
  2. Go into cloned directory
    cd uptime-monitoring-api-raw-node
  3. Install dev dependencies
    npm install
  4. Run the app
    npm start
  5. Your app should be available in http://localhost:3000

Old users who previously cloned the repository

Just pull the updated code and run the app

git pull
npm start

Api details

Method URL endpoint Request payload Response payload Description
POST {{host}}\user
{
  "firstName": "Ratul",
  "lastName": "Al Mamun",
  "phone": "01XXXXXXXXX",
  "password": "XXXXX",
  "tossAgreement": true,
}
{
  "message": "Users creat successfully"
}
User Registration

Contact

Md Abdullah Al Mamun (Ratul) - ratulalmamun23@gmail.com