Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nitinpatel2001/open-api-for-task-and-subtask
API to Perform various operations and update the due date everyday
https://github.com/nitinpatel2001/open-api-for-task-and-subtask
cronjob expressjs jwt-authentication mongodb mongoosejs nodejs twillio-api
Last synced: 28 days ago
JSON representation
API to Perform various operations and update the due date everyday
- Host: GitHub
- URL: https://github.com/nitinpatel2001/open-api-for-task-and-subtask
- Owner: NitinPatel2001
- Created: 2024-03-02T15:31:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-02T15:31:58.000Z (8 months ago)
- Last Synced: 2024-10-11T12:04:09.993Z (28 days ago)
- Topics: cronjob, expressjs, jwt-authentication, mongodb, mongoosejs, nodejs, twillio-api
- Language: JavaScript
- Homepage:
- Size: 5.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Task and SubTask API
Plese first enter you mongodb URL into db/connect.js
# API1 - Post Request
http://localhost:4422/addtask
body: {
title, description, due_date
}header: {
token: jwtwebtoken
}Result: Add the task into Database or Give respected Error
# API2 - Post Request
http://localhost:4422/addsubtask
body: {
task_id
}header: {
token: jwtwebtoken
}Result: Add SubTask into Database or give respected error
# API3 - Post Request
http://localhost:4422/updatetask
body: {
task_id, status, due_date
}header: {
token: jwtwebtoken
}Result: update the task into Database or Give respected Error
# API4 - Post Request
http://localhost:4422/updatesubtask
body: {
subtask_id, status
}header: {
token: jwtwebtoken
}Result: Update the task into Database or Give respected Error
# API5 - Post Request
http://localhost:4422/deletetask
body: {
task_id
}header: {
token: jwtwebtoken
}Result: Delete the task into Database or Give respected Error
# API6 - Post Request
http://localhost:4422/deletesubtask
body: {
subtask_id
}header: {
token: jwtwebtoken
}Result: Delete the subtask into Database or Give respected Error
# API7 - Get Request
http://localhost:4422/gettask
header: {
token: jwtwebtoken
}Result: Give all task
# API8 - Get Request
http://localhost:4422/getsubtask
header: {
token: jwtwebtoken
}Result: Give all subtask