Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 405 Bytes

File metadata and controls

17 lines (12 loc) · 405 Bytes

FASTAPI-TASKS

A FASTAPI app that manages tasks built in python

What it does

  • Integrates SQLite3 with FASTAPI

@app.get("/tasks")

  • displays all tasks

@app.post("/tasks")

  • creates a new task with title and priority

@app.put("/tasks/{task_id}/done")

  • marks task with corresponding task id as done i.e done = 1

@app.delete("/tasks/{task_id}")

  • deletes task with corresponding task id