Task Manager

Installation & usage

Backend

cd backend
python3 -m venv .venv
source .venv/bin/activate

pip install -r requirements.txt
uvicorn app.main:app --host 127.0.0.1 --port 8000

Frontend

cd frontend
python3 -m http.server 5173

Quelques commandes curl

Créer une tâche

curl -s -X POST http://127.0.0.1:8000/tasks \
  -H "Content-Type: application/json" \
  -d '{"title":"Écrire tests API","description":"Ajouter des assertions sur /tasks"}' | jq

Lister les tâches

curl -s http://127.0.0.1:8000/tasks | jq

Mettre à jour une tâche

curl -s -X PUT http://127.0.0.1:8000/tasks/1 \
  -H "Content-Type: application/json" \
  -d '{"status":"DONE"}' | jq

Supprimer une tâche

curl -i -X DELETE http://127.0.0.1:8000/tasks/1
Description
No description provided
Readme 132 KiB
Languages
Python 42.1%
JavaScript 26%
Dockerfile 12.5%
HTML 10%
CSS 9.4%