Node based Restful API for Daily Status Reporting App.
- Clone repository
- npm install
- npm start
-
GET all data
http://localhost/api/dsr -
GET data by Id
http://localhost/api/dsr/_Id -
POST new DSR
{
"rsrc": "John Doe",
"tid": "ABC-100",
"ttitle": "Login Module",
"status": "Completed",
"comments": "Deployed to Production",
"ts": "2020-04-02"
}- Replace existing DSR:
{
"_id": "dsrId",
"rsrc": "John Miller",
"tid": "ABC-101",
"ttitle": "Login Module Beta",
"status": "Completed",
"comments": "Deployed to Production",
"ts": "2020-04-02"
}- PATCH DSR
{
"_id": "dsrId",
"rsrc": "John Doe",
}- DELETE DSR by ID
{
"_id": "dsrId"
}