Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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