How pshkarsngh/padhaanewala_education works
Padhaanewala is an education and college-admissions platform: students can explore colleges and courses, prepare for exams, use a predictor and mock tests, and engage with counselling and admissions services. Its backend exposes catalog, account, engagement, and learning APIs backed by PostgreSQL, with Redis also used by the runtime. The source index confirms route registration and several service relationships; frontend-to-backend calls and many unsampled feature details are not visible, so those links are left unasserted or marked unverified.
Main entry points: main.py FastAPI application · auth.py Authentication API · database.py Database sessions · reviews.py Review moderation
Components 24
College discovery
- College explorer
padhaanewala/frontend/app/colleges/page.tsx - College details
padhaanewala/frontend/frontend/components/college/CollegeDetailClient.tsx - Course catalog
padhaanewala/frontend/app/courses/[slug]/page.tsx - College predictor
padhaanewala/frontend/app/college-predictor/page.tsx - Admissions help
padhaanewala/frontend/app/admission/page.tsx
Exam preparation
- Exam catalog
padhaanewala/frontend/app/exams/[slug]/page.tsx - Mock test engine
padhaanewala/frontend/frontend/components/mocktests/MockTestEngine.tsx - Mock test API
padhaanewala/backend/app/routers/mock_tests.py - AI guidance
padhaanewala/frontend/app/api/ai/route.ts
Student engagement
- Reviews
padhaanewala/frontend/frontend/components/reviews/ReviewsExplorer.tsx - Review moderation
padhaanewala/backend/app/routers/reviews.py
Identity and governance
- Sign in
padhaanewala/frontend/app/login/page.tsx - Authentication API
padhaanewala/backend/app/routers/auth.py - OTP lifecycle
padhaanewala/backend/app/services/otp_service.py - Refresh sessions
padhaanewala/backend/app/services/session_service.py - Consent checks
padhaanewala/backend/app/services/compliance_service.py
API and data runtime
- FastAPI application
padhaanewala/backend/app/main.py - Catalog APIs
padhaanewala/backend/app/routers/colleges.py - Catalog enrichment
padhaanewala/backend/app/routers/enrichment.py - Database sessions
padhaanewala/backend/app/database.py - Domain records
padhaanewala/backend/app/models/college.py - Redis service
padhaanewala/backend/app/services/redis_client.py - Runtime settings
padhaanewala/backend/app/config.py
Other components
- Student
Connections 29
- Student → College explorer: browses
- Student → Course catalog: explores
- Student → College predictor: predicts
- Student → Exam catalog: prepares
- Student → Sign in: signs in
- Student → Mock test engine: takes test
- Student → AI guidance: asks
- Student → Admissions help: seeks help
- FastAPI application → Authentication API: registers
padhaanewala/backend/app/main.py - FastAPI application → Catalog APIs: registers
padhaanewala/backend/app/main.py - FastAPI application → Catalog enrichment: registers
padhaanewala/backend/app/main.py - FastAPI application → Mock test API: registers
padhaanewala/backend/app/main.py - FastAPI application → Review moderation: registers
padhaanewala/backend/app/main.py - FastAPI application → Database sessions: checks database
padhaanewala/backend/app/main.py - FastAPI application → Redis service: closes connection
padhaanewala/backend/app/main.py - FastAPI application → Runtime settings: configures runtime
padhaanewala/backend/app/main.py - Authentication API → OTP lifecycle: uses lifecycle
padhaanewala/backend/app/routers/auth.py - Authentication API → Refresh sessions: rotates sessions
padhaanewala/backend/app/routers/auth.py - Authentication API → Consent checks: checks consent
padhaanewala/backend/app/routers/auth.py - Authentication API → Database sessions: gets session
padhaanewala/backend/app/routers/auth.py - Catalog APIs → Database sessions: gets session
- Review moderation → Database sessions: gets session
padhaanewala/backend/app/routers/reviews.py - Database sessions → Runtime settings: reads settings
padhaanewala/backend/app/database.py - Authentication API → Domain records: loads models
padhaanewala/backend/app/routers/auth.py - Review moderation → Domain records: queries records
padhaanewala/backend/app/routers/reviews.py - Sign in → Authentication API: calls API
- College explorer → Catalog APIs: fetches catalog
- Mock test engine → Mock test API: submits attempts
- College predictor → Catalog enrichment: requests prediction