How christina1507/prepforge works
PrepForge is a student interview-preparation app. Students sign in, choose preparation tools, and use them to track practice, applications, and study progress; the dashboard and AI study coach support planning and review. The frontend calls a server API, which handles authentication and feature data using SQLite and can request generated study plans. The README is empty, so capabilities are inferred from the navigation and component names. Some view-to-route mappings and backend feature implementations were not shown; uncertain links are omitted.
Main entry points: services/api.ts API client · App.tsx App shell · routes/api.ts API routes · server.ts HTTP server
Components 27
Student app
- App shell
src/App.tsx - Sign-in UI
src/components/auth/AuthModal.tsx - Session state
src/context/AuthContext.tsx - Navigation
src/components/layout/Sidebar.tsx
Preparation tools
- Dashboard
src/components/dashboard/DashboardView.tsx - DSA practice
src/components/dsa/DSADashboardView.tsx - Core CS
src/components/corecs/CoreCSView.tsx - Aptitude practice
src/components/aptitude/AptitudeView.tsx - SQL practice
src/components/sql/SQLPracticeView.tsx - Interview prep
src/components/interview/InterviewPrepView.tsx - Resource library
src/components/resources/ResourceLibraryView.tsx - Mistake book
src/components/mistakes/MistakeBookView.tsx
Planning and growth
- Daily preparation
src/components/today/TodayPrepView.tsx - Revision queue
src/components/revision/RevisionQueueView.tsx - Habit tracking
src/components/habits/HabitTrackerView.tsx - Analytics
src/components/analytics/AnalyticsView.tsx - Company tracking
src/components/companies/CompanyTrackerView.tsx - Project tracking
src/components/projects/ProjectTrackerView.tsx - AI study coach
src/components/aicoach/AICoachView.tsx
Server and persistence
- API client
src/services/api.ts - HTTP server
server.ts - API routes
server/routes/api.ts - Auth middleware
server/auth.ts - Study-plan generation
server/gemini.ts - Database access
server/db.ts - SQLite database
data/prepforge.sqlite
Other components
- Student
Connections 33
- Student → App shell: uses
- App shell → Navigation: renders
src/App.tsx - App shell → Session state: provides session
src/App.tsx - App shell → Dashboard: selects view
src/App.tsx - App shell → DSA practice: selects view
src/App.tsx - App shell → Core CS: selects view
src/App.tsx - App shell → Aptitude practice: selects view
src/App.tsx - App shell → SQL practice: selects view
src/App.tsx - App shell → Sign-in UI: renders
src/App.tsx - Sign-in UI → Session state: calls sign-in
src/components/auth/AuthModal.tsx - Session state → API client: requests session
src/context/AuthContext.tsx - HTTP server → Database access: initializes
server.ts - HTTP server → Auth middleware: seeds demo user
server.ts - HTTP server → API routes: mounts API
server.ts - API routes → Database access: reads and writes
server/routes/api.ts - API routes → Auth middleware: uses token generation
server/routes/api.ts - API routes → Study-plan generation: generates plans
server/routes/api.ts - Database access → SQLite database: persists data
server/db.ts - Dashboard → API client: fetches data
src/components/dashboard/DashboardView.tsx - DSA practice → API client: fetches data
src/components/dsa/DSADashboardView.tsx - Core CS → API client: fetches data
src/components/corecs/CoreCSView.tsx - Aptitude practice → API client: fetches data
src/components/aptitude/AptitudeView.tsx - SQL practice → API client: fetches data
src/components/sql/SQLPracticeView.tsx - Interview prep → API client: fetches data
src/components/interview/InterviewPrepView.tsx - Resource library → API client: fetches data
src/components/resources/ResourceLibraryView.tsx - Mistake book → API client: fetches data
src/components/mistakes/MistakeBookView.tsx - Daily preparation → API client: fetches data
src/components/today/TodayPrepView.tsx - Revision queue → API client: fetches data
src/components/revision/RevisionQueueView.tsx - Habit tracking → API client: fetches data
src/components/habits/HabitTrackerView.tsx - Analytics → API client: fetches data
src/components/analytics/AnalyticsView.tsx - Company tracking → API client: fetches data
src/components/companies/CompanyTrackerView.tsx - Project tracking → API client: fetches data
src/components/projects/ProjectTrackerView.tsx - AI study coach → API client: fetches data
src/components/aicoach/AICoachView.tsx