Skip to content

An-Uncreative/Todo-Shopping-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo/Shopping List API

RESTful API backend for the Todo and Shopping List React application.

Tech Stack

  • json-server: Mock REST API
  • CORS: Cross-origin resource sharing
  • Node.js: Runtime environment

Get All Items

GET /items

Get Single Item

GET /items/:id

Create Item

POST /items
Content-Type: application/json

{
  "id": "4",
  "checked": false,
  "item": "New item"
}

Update Item

PUT /items/:id
Content-Type: application/json

{
  "id": "4",
  "checked": true,
  "item": "Updated item"
}

Delete Item

DELETE /items/:id

Local Development

npm install
npm start

Server runs on http://localhost:3500

Deployment

Deployed on Render.com with automatic deployments from GitHub.

About

RESTful API backend for Todo/Shopping List app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published