Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wnawa/task-manegment-api
ApI for task managment using Node.js
https://github.com/wnawa/task-manegment-api
json nodejs
Last synced: 29 days ago
JSON representation
ApI for task managment using Node.js
- Host: GitHub
- URL: https://github.com/wnawa/task-manegment-api
- Owner: wnawa
- Created: 2024-01-24T20:17:13.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-25T09:54:51.000Z (11 months ago)
- Last Synced: 2024-01-25T11:13:40.205Z (11 months ago)
- Topics: json, nodejs
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task Management API
Using I have created this API. It can read the data from JSON file and display or add new Tasks through the following endpoints:
- Get all Tasks
http://127.0.0.1:2000/tasks
{
"tasks": [
{
"id": 1,
"name": "shopping",
"completed": false
},
{
"id": 2,
"name": "study",
"completed": false
},
{
"id": 4,
"name": "shower",
"completed": false
},
{
"id": 3,
"name": "washing",
"complete": false
}
]
} -
Post New Tasks
http://127.0.0.1:2000/tasks - Put Edit Task to mark as completed
http://127.0.0.1:2000/tasks/:id
## Run the code using
node index.js