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
Objectif (~24h) : Poser le squelette du projet Spark — structure de repo, serveur FastAPI, modèle Idea (SQLite/SQLModel), et premiers endpoints de capture d'idée brute.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Directive PO — Milestone 1, Step 1
Objectif (~24h) : Poser le squelette du projet Spark — structure de repo, serveur FastAPI, modèle
Idea(SQLite/SQLModel), et premiers endpoints de capture d'idée brute.Périmètre
spark/main.py+spark/database.py: bootstrap FastAPI + SQLitespark/models/idea.py: modèleIdea(id UUID, raw_text, status, created_at)spark/api/ideas.py:POST /ideas(201 + id) etGET /ideas/{id}(200 ou 404)GET /health→{"status": "ok"}Acceptance Criteria (avec symboles vérifiables)
create_idea()dansspark/api/ideas.pypersisteIdea→test_create_idea_persistsPOST /ideasretourne HTTP 201 + champidUUID →test_post_idea_returns_201GET /ideas/{id}retourne 200 +raw_text→test_get_idea_returns_raw_textGET /ideas/{id}retourne 404 pour id inconnu →test_get_idea_not_foundGET /healthretourne 200{"status": "ok"}→test_health_checkIdeaexposeid,raw_text,status,created_at→test_idea_model_fieldsFichiers attendus (Writes)
spark/main.pyspark/models/idea.pyspark/api/ideas.pyspark/database.pyspark/tests/test_api_ideas.pyspark/tests/test_model_idea.pyDépendances
Aucune (premier step).
Réf :
docs/product/STEP_1.md— Spark Milestone 1 : L'Étincelle CapturéeBeta Was this translation helpful? Give feedback.
All reactions