RESTful API backend for the Todo and Shopping List React application.
- json-server: Mock REST API
- CORS: Cross-origin resource sharing
- Node.js: Runtime environment
GET /items
GET /items/:id
POST /items
Content-Type: application/json
{
"id": "4",
"checked": false,
"item": "New item"
}
PUT /items/:id
Content-Type: application/json
{
"id": "4",
"checked": true,
"item": "Updated item"
}
DELETE /items/:id
npm install
npm startServer runs on http://localhost:3500
Deployed on Render.com with automatic deployments from GitHub.