How tazimsheriff/onday-site works
Out of Syllabus is a first-year meetup companion: participants register or log in, use a dashboard to see tasks, team, points and rewards, maintain a shareable profile card, and follow the leaderboard; organizers manage students, teams, scores and goodies. The runtime is organized around Next.js page routes, server actions, session authentication and a SQLite-backed domain store. The excerpts show several page-to-service calls and the session/database relationship; other route-to-service links are indicated as unverified where only imports are indexed.
Main entry points: db.ts SQLite domain store · actions.ts Form actions · auth.ts Session and roles · page.tsx Profile and QR
Components 24
Discovery and access
- Meetup home
app/page.tsx - Sign up
app/signup/page.tsx - Login
app/login/page.tsx
Participant experience
- Participant desk
app/dashboard/page.tsx - Profile and QR
app/profile/page.tsx - Shareable card
app/card/[slug]/page.tsx - Leaderboard
app/leaderboard/page.tsx - Goodie redemption
app/redeem/page.tsx
Organizer tools
- Organizer overview
app/admin/page.tsx - Student management
app/admin/students/page.tsx - Student details
app/admin/students/[id]/page.tsx - Team management
app/admin/teams/page.tsx - Goodie management
app/admin/goodies/page.tsx - Admin access gate
app/admin/layout.tsx
Shared services
- Navigation shell
components/shell.tsx - Form actions
lib/actions.ts - Session and roles
lib/auth.ts - UI components
components/ui.tsx - Team selector
components/team-select.tsx - Formatting helpers
lib/format.ts - Request origin
lib/origin.ts - QR generation
lib/qr.ts
Domain data
- SQLite domain store
lib/db.ts
Other components
- Visitor
Connections 36
- Visitor → Meetup home: opens
app/page.tsx - Visitor → Sign up: registers
app/signup/page.tsx - Visitor → Login: signs in
app/login/page.tsx - Meetup home → SQLite domain store: reads event stats and goodies
app/page.tsx - Sign up → Form actions: submits signup
app/signup/page.tsx - Login → Form actions: submits login
app/login/page.tsx - Form actions → Session and roles: sets and clears sessions
lib/actions.ts - Session and roles → SQLite domain store: loads user
lib/auth.ts - Navigation shell → Session and roles: reads session
components/shell.tsx - Participant desk → Session and roles: requires participant
app/dashboard/page.tsx - Participant desk → Request origin: gets request origin
app/dashboard/page.tsx - Participant desk → QR generation: creates card QR
app/dashboard/page.tsx - Profile and QR → Session and roles: requires participant
app/profile/page.tsx - Profile and QR → SQLite domain store: reads connections
app/profile/page.tsx - Profile and QR → Request origin: gets request origin
app/profile/page.tsx - Profile and QR → QR generation: creates card QR
app/profile/page.tsx - Profile and QR → Form actions: submits profile changes
app/profile/page.tsx - Shareable card → SQLite domain store: loads card profile
app/card/[slug]/page.tsx - Leaderboard → SQLite domain store: loads rankings and members
app/leaderboard/page.tsx - Leaderboard → Session and roles: reads session
app/leaderboard/page.tsx - Goodie redemption → Session and roles: requires participant
app/redeem/page.tsx - Goodie redemption → SQLite domain store: reads goodies and claims
app/redeem/page.tsx - Goodie redemption → Form actions: submits redemption
app/redeem/page.tsx - Admin access gate → Session and roles: requires admin
app/admin/layout.tsx - Student management → SQLite domain store: loads students and teams
app/admin/students/page.tsx - Student management → Form actions: submits student updates
app/admin/students/page.tsx - Student management → Team selector: renders team selection
app/admin/students/page.tsx - Student details → SQLite domain store: loads student record
app/admin/students/[id]/page.tsx - Student details → Form actions: submits student changes
app/admin/students/[id]/page.tsx - Team management → SQLite domain store: loads team data
app/admin/teams/page.tsx - Team management → Form actions: submits team changes
app/admin/teams/page.tsx - Goodie management → SQLite domain store: loads goodies
app/admin/goodies/page.tsx - Goodie management → Form actions: submits goodie changes
app/admin/goodies/page.tsx - Form actions → SQLite domain store: writes domain changes
lib/actions.ts - SQLite domain store → Formatting helpers: normalizes stored values
lib/db.ts - UI components → Formatting helpers: formats flash text
components/ui.tsx