Spec 03 Repository Layout - SekiroKenjii/Quizzivy GitHub Wiki

Section of Quizzivy โ€” Frontend Portal & Data Model Specification ยท Previous ยท Next

3. Repository layout

web/src/
โ”œโ”€ app/                      # shell: providers, router, error boundaries, guards/
โ”œโ”€ features/
โ”‚  โ”œโ”€ auth/
โ”‚  โ”œโ”€ join/                  # NEW: public class-code join flow
โ”‚  โ”œโ”€ tests/                 # admin: authoring
โ”‚  โ”œโ”€ question-bank/
โ”‚  โ”œโ”€ media/                 # NEW: upload widget + asset picker
โ”‚  โ”œโ”€ assignments/
โ”‚  โ”œโ”€ attempts/              # admin: monitoring + grading
โ”‚  โ”œโ”€ integrity/
โ”‚  โ”œโ”€ students/
โ”‚  โ”œโ”€ classes/
โ”‚  โ”œโ”€ take-test/             # student: the engine
โ”‚  โ””โ”€ results/
โ”œโ”€ components/
โ”‚  โ”œโ”€ ui/                    # shadcn primitives
โ”‚  โ””โ”€ shared/
โ”œโ”€ layouts/                  # TeacherLayout (shell/), StudentLayout, FocusLayout
โ”œโ”€ lib/                      # api/, i18n/, utils/, config.ts
โ”œโ”€ hooks/  stores/  styles/  main.tsx

Feature folder convention (src/features/<name>/): api.ts, schemas.ts, components/, pages/, store.ts (optional), index.ts (public exports only). Features import each other only via index.ts. components/shared never imports from features/.


Section of Quizzivy โ€” Frontend Portal & Data Model Specification ยท Previous ยท Next


Generated from docs/quizzivy-spec-v0.3.md. Edit that file in the repository; changes made on this page are overwritten.

โš ๏ธ **GitHub.com Fallback** โš ๏ธ