docs: add /docs living documentation per AGENT.MD

- docs/README.md: navigation hub
- docs/architecture.md: system overview, tech stack, data flows, ports
- docs/backend/: supabase-core, schema, rpcs, rls, seed, docker
- docs/frontend/: app-structure, screens, api-client
- docs/next-steps.md: Phase 2/3/4 plan + open decisions
- Fix README demo-account emails to match the actual seed

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-08-22 17:10:50 +02:00
1 parent 63aa4ecfc8
commit 33c058b5ee
16 files changed
+1494 -7

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
# Convivo — Documentation
Living documentation for **Convivo** — a conference networking app that turns a
conference into a game. This folder is the single source of truth for *how the
system works*; the root [`README.md`](../README.md) is the quick-start.
> **Status:** Phase 0 (Dockerized Supabase core) + Phase 1 (attendee web PWA)
> are complete and verified. Phases 2–4 are planned — see
> [next-steps.md](./next-steps.md).
## Where things live
| Topic | Read this |
|---|---|
| **System overview, tech stack, data flows, ports** | [architecture.md](./architecture.md) |
| **Backend (Supabase core) — overview** | [backend/README.md](./backend/README.md) |
| Supabase local stack, ports, how it runs | [backend/supabase-core.md](./backend/supabase-core.md) |
| Database schema (all tables) | [backend/schema.md](./backend/schema.md) |
| Transactional points RPCs (the business logic) | [backend/rpcs.md](./backend/rpcs.md) |
| Row Level Security policies | [backend/rls.md](./backend/rls.md) |
| Seed data + demo accounts | [backend/seed.md](./backend/seed.md) |
| Docker (app image + compose) | [backend/docker.md](./backend/docker.md) |
| **Frontend (attendee PWA) — overview** | [frontend/README.md](./frontend/README.md) |
| App structure, state, contexts, routing | [frontend/app-structure.md](./frontend/app-structure.md) |
| Every screen (Login, Home, Agenda, Scan, …) | [frontend/screens.md](./frontend/screens.md) |
| API client (how the app talks to Supabase) | [frontend/api-client.md](./frontend/api-client.md) |
| **What's next (Phase 2/3/4 + open items)** | [next-steps.md](./next-steps.md) |
## Reading order
1. **New to the project?** Start with [architecture.md](./architecture.md), then
[backend/README.md](./backend/README.md) and [frontend/README.md](./frontend/README.md).
2. **Working on the database / points logic?** Go to
[backend/schema.md](./backend/schema.md) → [backend/rpcs.md](./backend/rpcs.md) →
[backend/rls.md](./backend/rls.md).
3. **Working on the UI?** Go to [frontend/app-structure.md](./frontend/app-structure.md)
→ [frontend/screens.md](./frontend/screens.md) → [frontend/api-client.md](./frontend/api-client.md).
4. **Planning the next phase?** Read [next-steps.md](./next-steps.md).
## Conventions
- **No duplication.** Each fact lives in exactly one file; other files link to it
with relative Markdown links. (e.g. the frontend API client links to the backend
RPC reference instead of re-describing the RPCs.)
- **Code is the source of truth.** If a doc and the code disagree, the code wins —
fix the doc. Key files:
- Schema + RPCs + RLS: [`supabase/migrations/20260822000000_init.sql`](../supabase/migrations/20260822000000_init.sql)
- Seed: [`supabase/seed.sql`](../supabase/seed.sql)
- App source: [`apps/convivo/src/`](../apps/convivo/src/)
- **Keep it current.** Update the relevant doc in the same change that changes the
behavior it describes.