How stephen-t-2023/vestige works
Vestige is a flashcard-based study app: users sign in, organize subjects into topics, add learning materials, then study flashcards and review progress. The graph includes the documented page capabilities and shared UI. Some page excerpts are partial or absent, so unsampled relationships are omitted rather than inferred; Supabase is shown as the external data service based on the client’s stated purpose.
Main entry points: supabaseClient.js Supabase client · dashboard.jsx Subject dashboard · subject/[id].jsx Subject details · topic/[id].jsx Topic workspace
Components 20
Learning content
- Subject dashboard
src/pages/dashboard.jsx - Subject details
src/pages/subject/[id].jsx - Topic workspace
src/pages/topic/[id].jsx
Study and progress
- Study session
src/pages/study/[id].jsx - Flashcard display
src/components/flashcard.jsx - Progress review
src/pages/progress.jsx
Identity and navigation
- Home
src/pages/index.js - Sign up
src/pages/signup.jsx - Log in
src/pages/login.jsx - Account
src/pages/account.jsx - Navigation
src/components/Navbar.jsx - Global search
src/components/SearchBar.jsx
Shared interface
- Breadcrumb state
src/lib/BreadcrumbContext.js - Beta banner
src/components/BetaBanner.jsx - Empty state
src/components/EmptyState.jsx - Loading skeleton
src/components/Skeleton.jsx - Footer
src/components/Footer.jsx - Supabase client
src/lib/supabaseClient.js
Other components
- Learner
- Supabase service
Connections 33
- Learner → Home: opens app
README.md - Learner → Sign up: creates account
- Learner → Log in: signs in
- Learner → Subject dashboard: manages subjects
- Subject dashboard → Subject details: opens subject
- Subject details → Topic workspace: opens topic
src/pages/subject/[id].jsx - Topic workspace → Study session: starts study
src/pages/topic/[id].jsx - Study session → Flashcard display: renders card
src/pages/study/[id].jsx - Learner → Progress review: reviews progress
- Home → Supabase client: queries data
src/pages/index.js - Sign up → Supabase client: uses auth
src/pages/signup.jsx - Log in → Supabase client: uses auth
src/pages/login.jsx - Account → Supabase client: uses auth
src/pages/account.jsx - Subject dashboard → Supabase client: manages subjects
src/pages/dashboard.jsx - Subject details → Supabase client: manages topics
src/pages/subject/[id].jsx - Topic workspace → Supabase client: manages content
src/pages/topic/[id].jsx - Study session → Supabase client: loads cards
src/pages/study/[id].jsx - Progress review → Supabase client: loads progress
src/pages/progress.jsx - Global search → Supabase client: searches content
src/components/SearchBar.jsx - Supabase client → Supabase service: connects to
src/lib/supabaseClient.js - Navigation → Global search: renders search
src/components/Navbar.jsx - Navigation → Breadcrumb state: reads crumbs
src/components/Navbar.jsx - Subject dashboard → Beta banner: renders banner
src/pages/dashboard.jsx - Subject dashboard → Loading skeleton: shows loading
src/pages/dashboard.jsx - Subject dashboard → Empty state: shows empty state
src/pages/dashboard.jsx - Subject details → Loading skeleton: shows loading
src/pages/subject/[id].jsx - Subject details → Empty state: shows empty state
src/pages/subject/[id].jsx - Topic workspace → Empty state: shows empty state
src/pages/topic/[id].jsx - Progress review → Loading skeleton: shows loading
src/pages/progress.jsx - Progress review → Empty state: shows empty state
src/pages/progress.jsx - Learner → Account: updates account
- Home → Navigation: shares navigation
- Navigation → Footer: shares layout