Skip to content

joebertj/rest

Repository files navigation

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