You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm install
cp .env.example .env
# Éditez .env avec les infos PostgreSQL locales, lancer un container Postgres pour tester si besoin
npm start
Tests des endpoints
Health
curl http://localhost:3000/health
Créer une tâche
curl -X POST http://localhost:3000/todos \
-H "Content-Type: application/json" \
-d '{"title": "Préparer le rapport", "description": "Envoyer au prof une fois terminé", "due_date": "2024-12-01"}'