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
Pasport.js - Authentication.link
mocha - Testing.link
twilio - SMS notification.link
- Clone the repository:
git clone https://github.com/Denniskamau/nodeAPI/
- Install the required moduls:
npm install
- Start the server:
npm start
- Authentication
localhost:5000/user/signup
andlocalhost:5000/user/login
- Adding a new web server
localhost:500/website