Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 482 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 482 Bytes

rest

This is a demonstration of Node.js using MongoDB and CRUD operations

Quick Guide

npm install
npm start

You can also run this using HTTPS by pointing your key and certificate in app.js.https and copying it over to app.js.

Columns

_id: autogenerated
name
pro
id:user-defined primary key

ReST API

Method Action Content
GET /users none
POST /add JSON
GET /edit id,name,pro
DELETE /:id none
PUT /:id JSON