How dheerajrai-dev/nextrole works
NextRole is a job and internship discovery app: users enter keywords and filters, the backend queries TinyFish, normalizes and deduplicates live listings, and the UI presents results with original application links and verification status. The graph follows this workflow and includes health/status handling and the shared data contract. Source excerpts show the backend orchestration and UI calls; unsampled component internals and the exact browser-to-server deployment wiring are not inferred.
Main entry points: App.tsx App coordinator · search.py Search API · api.ts HTTP client · SearchBar.tsx Search filters
Components 16
Search interface
- App coordinator
frontend/src/App.tsx - Search filters
frontend/src/components/SearchBar.tsx - HTTP client
frontend/src/services/api.ts - Search states
frontend/src/components/StatusViews.tsx - Job result card
frontend/src/components/JobCard.tsx - Service status header
frontend/src/components/Header.tsx
Search backend
- FastAPI app
backend/app/main.py - Search API
backend/app/routes/search.py - Search data models
backend/app/models.py - TinyFish client
backend/app/services/tinyfish.py
Listing processing
- Listing parser
backend/app/services/job_parser.py - Duplicate removal
backend/app/services/deduplication.py
Other components
- Job seeker
- TinyFish Web API
- Career platforms
- Original application sites
Connections 20
- Job seeker → Search filters: enters filters
README.md - App coordinator → Search filters: renders
frontend/src/App.tsx - Search filters → App coordinator: submits search
frontend/src/App.tsx - App coordinator → HTTP client: executes search
frontend/src/App.tsx - HTTP client → Search API: POST /api/search
frontend/src/services/api.ts - FastAPI app → Search API: registers routes
backend/app/main.py - Search API → TinyFish client: searches
backend/app/routes/search.py - TinyFish client → TinyFish Web API: queries
backend/app/services/tinyfish.py - TinyFish Web API → Career platforms: searches listings
README.md - Search API → Listing parser: parses results
backend/app/routes/search.py - Listing parser → Search data models: creates listings
backend/app/services/job_parser.py - Search API → Duplicate removal: deduplicates
backend/app/routes/search.py - Duplicate removal → Search data models: uses listing model
backend/app/services/deduplication.py - Search API → Search data models: validates response
backend/app/routes/search.py - HTTP client → FastAPI app: checks health
- App coordinator → Service status header: renders status
frontend/src/App.tsx - App coordinator → Search states: renders states
frontend/src/App.tsx - App coordinator → Job result card: renders results
frontend/src/App.tsx - Job result card → Original application sites: opens listing link
frontend/src/components/JobCard.tsx - Job seeker → Job result card: views results
README.md