The team
Three people, one building block each. This split lets everyone move forward alone without blocking the others, thanks to a few shared conventions set from the start.
| Person | Building block | Folders | Writes |
|---|---|---|---|
| Patrice | Django API + PostgreSQL | api/ | API part |
| Jean-Baptiste | Next.js web front end | web/ | Web front end part |
| Elias | Pipeline, servers, deployment | infra/, .gitlab-ci.yml | DevOps part |
The conventions that avoid blocking
| Item | API | Web |
|---|---|---|
| Internal port | 8000 | 3000 |
GET /health → 200 | GET /api/health → 200 | |
| Test report | api/report.xml | web/junit.xml |
| Image | $CI_REGISTRY_IMAGE/api:<sha> | $CI_REGISTRY_IMAGE/web:<sha> |
| CI jobs | api:lint, api:test, api:build | web:lint, web:test, web:build |
Thanks to this contract, Elias could write the deployment and the Traefik routes before the API and the web were finished.
Who to ask about what
| You want to… | Ask |
|---|---|
| add a field to a product | Patrice (model + migration), then Jean-Baptiste (display) |
| change how a page looks | Jean-Baptiste |
| add a secret variable, a server, a domain | Elias |
| understand why a pipeline fails | the owner of the failed job (api:*, web:*, deploy-*) |
Final presentation
| Who | Presents |
|---|---|
| Patrice | Why Django and PostgreSQL, API structure, dev/prod Dockerfiles, tests |
| Jean-Baptiste | Why Next.js, front-end structure, dev/prod Dockerfiles, tests |
| Elias | Repository structure, pipeline, secret security, runners, demo from a commit to prod with zero downtime |