Skip to content
morgana-boopPublic

About

REST CRUD notes API: Node.js, Express, SQLite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notes-api

REST CRUD API for notes. Node.js, Express, Sequelize, SQLite.

Run

npm install
npm start

Endpoints

Method Route Description
GET /notes List notes
GET /notes/:id Get note
POST /notes Create note (title required)
PUT /notes/:id Update note
DELETE /notes/:id Delete note

Errors: 400 invalid input, 404 not found.

Example

curl -X POST localhost:3000/notes -H 'Content-Type: application/json' -d '{"title":"a","content":"b"}'

About

REST CRUD notes API: Node.js, Express, SQLite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages