/nodeAPI

A simple node api example implementation

Primary LanguageJavaScript

Travis CI logo Whitespace Codecov logo

Build Status codecov

nodeAPI

An illustration of how to deelop a simple REST API with node.js

Ideally the API allows a registered user to add a server url to be monitored if it is up or down.

Incase the server is down then the user is notified via sms

Technologies

Pasport.js - Authentication.link

mocha - Testing.link

twilio - SMS notification.link

Setup

  • Clone the repository:git clone https://github.com/Denniskamau/nodeAPI/
  • Install the required moduls: npm install
  • Start the server: npm start

Endpoints

  • Authentication localhost:5000/user/signup and localhost:5000/user/login
  • Adding a new web server localhost:500/website