✨About the API✨

Create task for a given duration. Tasks will be automatically deleted when the given duration is elapsed.

API Reference😀

1. "/add" -> to add a new task

Example JSON request body

{
"task_name":"My Task",
"task_description":"My task description",
"creator":"My Name",
"duration":5
}

NOTE: "duration" should be given in seconds.

2. "/list" -> Fetch the created tasks.

Example with endpoint😀

  • GET REQUEST

  • https://task-timer-app-api.herokuapp.com/list

  • POST REQUEST

  • https://task-timer-app-api.herokuapp.com/add

    {
    "task_name":"My Task",
    "task_description":My task description,
    "creator":"My Name",
    "duration":5
    }

MADE BY: AMAN KUMAR JHA