A simple RESTful API for managing tasks, built with Node.js and Express.js.
GET /api/tasks– Get all tasksPOST /api/tasks– Add a new taskPUT /api/tasks/:id– Mark a task as completedDELETE /api/tasks/:id– Delete a task
- Node.js
- Express.js
- Local JSON file for data storage (
tasks.json)
git clone https://github.com/samayine/simple-task-api.git
cd simple-task-api
npm install
node server.js