Skip to content

Divakar-2508/RustDo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1e98cfb · Mar 21, 2024

History

17 Commits
Mar 21, 2024
Mar 21, 2024
Mar 21, 2024
Mar 21, 2024
Mar 21, 2024

Repository files navigation

RustDo

RustDo is a simple yet powerful Todo API built using the Rust programming language and the Rocket web framework. This API allows users to manage their todo lists by adding, viewing, and deleting tasks.

Usage

  • To add a new todo, make a POST request to /add_todo with the following JSON payload:

    {
      "id": 1,
      "name": "Buy groceries",
      "done": false
    }
  • To get all todos, make a GET request to /get_todo.

  • To get a specific todo, make a GET request to /get_todo/{id} where {id} is the ID of the todo.

  • To delete a todo, make a DELETE request to /delete_todo/{id} where {id} is the ID of the todo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages