Skip to content

trandobulo/note-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note app (endpoint)

Simple Express-based application with Yup object schema validation

Installing

For starting the project on your local machine clone repo locally and use npm install to install all dependencies then npm start for running.

You also could use deployed version

Functionality

To work with request and response bodies use JSON format

Query type Endpoint Action
POST /notes Create a note object { category: string, content: string }
DELETE /notes/:id Remove item.
PATCH /notes/:id Edit item { category: string, content: string } || {category: string} || {content: string}
GET /notes/:id Retrieve item.
GET /notes Get all notes.
GET /notes/stats Get aggregated data statistics

Releases

No releases published

Packages

No packages published