How arunshreyas/crackr works
Crackrr is a JEE exam-preparation web app for practice, progress tracking, and competitive motivation. Its central workflow is a signed-in student choosing questions, completing practice, and reviewing mastery and rewards. The graph includes the dashboard, profile, onboarding, and settings branches shown by the tree and source references. Evidence is limited to the supplied excerpts, SOURCE INDEX references, and tree; unsampled implementation details and the question-ingestion scripts are not mapped.
Main entry points: page.tsx Practice route · auth/index.ts Authentication · service.ts Practice sessions · db/index.ts Application database
Components 25
Student experience
- Landing page
app/page.tsx - Onboarding
app/onboarding/OnboardingForm.tsx - Onboarding route
app/onboarding/page.tsx - Dashboard route
app/dashboard/page.tsx - Dashboard view
app/dashboard/DashboardClient.tsx - Dashboard widgets
components/dashboard - Settings route
app/settings/page.tsx - Settings view
app/settings/SettingsClient.tsx - Settings action
app/actions/settings.ts
Practice and questions
- Practice route
app/practice/page.tsx - Practice workstation
app/practice/PracticeContainer.tsx - Question catalog
lib/server/questions/service.ts - Practice sessions
lib/server/practice/service.ts
Progress and profile
- Progress route
app/progress/page.tsx - Progress analytics
app/progress/ProgressClient.tsx - Progress service
lib/server/progress/service.ts - Profile route
app/profile/page.tsx - Profile and ranks
app/profile/ProfileClient.tsx - Profile service
lib/server/profile/service.ts
Server services
- Dashboard data
lib/services/dashboard.ts - Authentication
lib/server/auth/index.ts - XP and rewards
lib/server/gamification/service.ts - Rank and reward rules
lib/server/gamification/config.ts - Application database
lib/server/db/index.ts
Other components
- Student
Connections 36
- Student → Landing page: visits
app/page.tsx - Student → Practice route: opens practice
- Student → Onboarding route: starts onboarding
- Onboarding route → Onboarding: renders
app/onboarding/page.tsx - Student → Dashboard route: opens dashboard
- Dashboard route → Authentication: checks identity
app/dashboard/page.tsx - Dashboard route → Dashboard data: loads data
app/dashboard/page.tsx - Dashboard route → Dashboard view: renders
app/dashboard/page.tsx - Dashboard view → Dashboard widgets: renders
app/dashboard/DashboardClient.tsx - Student → Settings route: opens settings
- Settings route → Authentication: checks identity
app/settings/page.tsx - Settings route → Settings view: renders
app/settings/page.tsx - Settings view → Settings action: invokes deletion
app/settings/SettingsClient.tsx - Student → Practice route: starts session
- Practice route → Authentication: checks identity
app/practice/page.tsx - Practice route → Question catalog: loads catalog
app/practice/page.tsx - Practice route → Practice sessions: loads active sessions
app/practice/page.tsx - Practice route → Practice workstation: renders workstation
app/practice/page.tsx - Practice sessions → Authentication: requires user
lib/server/practice/service.ts - Practice sessions → Question catalog: fetches questions
lib/server/practice/service.ts - Practice sessions → XP and rewards: awards practice XP
lib/server/practice/service.ts - Practice sessions → Application database: reads and writes
lib/server/practice/service.ts - Question catalog → Application database: queries catalog
lib/server/questions/service.ts - Student → Progress route: opens progress
- Progress route → Authentication: checks identity
app/progress/page.tsx - Progress route → Progress service: loads analytics
app/progress/page.tsx - Progress route → Progress analytics: renders
app/progress/page.tsx - Progress service → Application database: queries activity
lib/server/progress/service.ts - Student → Profile route: opens profile
- Profile route → Authentication: checks identity
app/profile/page.tsx - Profile route → Profile service: loads profile
app/profile/page.tsx - Profile route → Profile and ranks: renders
app/profile/page.tsx - Profile service → Rank and reward rules: calculates ranks
lib/server/profile/service.ts - Profile service → Application database: queries profile
lib/server/profile/service.ts - XP and rewards → Rank and reward rules: uses rules
lib/server/gamification/service.ts - XP and rewards → Application database: updates rewards
lib/server/gamification/service.ts