How abhay1verma5/project-alpha works
This is a government-jobs and exam-preparation platform with a Next.js frontend and Django API. The primary workflow is browsing or searching job listings; a separate study workflow provides previous-year questions, quizzes, and related learning tools. The backend also covers job crawling, AI assistance, current affairs, and topic weightage. Edges are limited to relationships visible in excerpts or the source index; the README is empty, so undocumented wiring is not inferred.
Main entry points: jobs/views.py Job API · PYQClient.tsx PYQ study UI · SearchPageClient.tsx Job search UI · ai/views.py AI endpoints
Components 26
Job discovery
- Job search UI
frontend/src/components/SearchPageClient.tsx - Job cards
frontend/src/components/JobCard.tsx - Job API
backend/jobs/views.py - Job filters
backend/jobs/filters.py - Job serializers
backend/jobs/serializers.py - Job records
backend/jobs/models.py
Job ingestion
- Job crawler
backend/crawler/management/commands/crawl_jobs.py - Parser base
backend/crawler/parsers/base.py - Engineering parser
backend/crawler/parsers/engineering.py - Job seeding
backend/crawler/management/commands/seed_jobs.py
Exam preparation
- PYQ study UI
frontend/src/components/pyq/PYQClient.tsx - Question notes
frontend/src/components/pyq/QuestionNotes.tsx - Math rendering
frontend/src/components/pyq/MathText.tsx - PYQ API
backend/pyq/views.py - Exam questions
backend/pyq/models.py - Question seeding
backend/seed_500k_v2.py - Exam weightage
backend/weightage
AI and current affairs
- AI endpoints
backend/ai/views.py - AI prompts
backend/ai/prompts.py - Gemini client
backend/config/gemini.py - Current affairs API
backend/currentaffairs/views.py - Affairs crawler
backend/currentaffairs/management/commands/crawl_current_affairs.py - Affairs records
backend/currentaffairs/models.py
Shared platform
- API client
frontend/src/lib/api.ts - Language support
frontend/src/components/LanguageProvider.tsx
Other components
- Job seeker
Connections 20
- Job seeker → Job search UI: searches listings
- Job search UI → API client: calls searchJobs
frontend/src/components/SearchPageClient.tsx - Job API → Job filters: applies filters
backend/jobs/views.py - Job API → Job records: queries jobs
backend/jobs/views.py - Job API → Job serializers: serializes results
backend/jobs/views.py - Job search UI → Job cards: renders results
frontend/src/components/SearchPageClient.tsx - Job cards → Language support: uses translations
frontend/src/components/JobCard.tsx - Job crawler → Engineering parser: dispatches parsers
- Engineering parser → Parser base: inherits parser
backend/crawler/parsers/engineering.py - Job seeding → Job records: writes jobs
backend/crawler/management/commands/seed_jobs.py - PYQ study UI → API client: loads metadata
frontend/src/components/pyq/PYQClient.tsx - PYQ study UI → Math rendering: renders math
frontend/src/components/pyq/PYQClient.tsx - PYQ study UI → Question notes: uses notes
frontend/src/components/pyq/PYQClient.tsx - Question seeding → Exam questions: inserts questions
backend/seed_500k_v2.py - AI endpoints → AI prompts: uses prompts
backend/ai/views.py - AI endpoints → Gemini client: requests generation
backend/ai/views.py - Affairs crawler → Gemini client: generates content
backend/currentaffairs/management/commands/crawl_current_affairs.py - Affairs crawler → Affairs records: stores articles
backend/currentaffairs/management/commands/crawl_current_affairs.py - Current affairs API → Affairs records: reads articles
backend/currentaffairs/views.py - Current affairs API → Exam questions: selects quiz questions
backend/currentaffairs/views.py