How ran-nope/internship-tracker works
This is an internship-tracking web app: users sign in, then record and manage applications, search/filter them, and review status statistics. The React interface communicates with a FastAPI service, which authenticates users and performs user-scoped internship operations against PostgreSQL through SQLAlchemy models and sessions. Frontend request excerpts establish internship API calls; backend route and persistence relationships are visible in main.py. Authentication is documented by backend handlers and frontend UI, but the excerpt does not show its frontend request wiring.
Main entry points: main.py FastAPI routes · App.jsx Application dashboard · models.py SQLAlchemy entities · database.py Database sessions
Components 9
Web client
- Sign-in UI
frontend/src/App.jsx - Application dashboard
frontend/src/App.jsx
Application service
- FastAPI routes
main.py - Account and tokens
main.py - Internship operations
main.py
Persistence
- SQLAlchemy entities
models.py - Database sessions
database.py - PostgreSQL
Other components
- User
Connections 12
- User → Sign-in UI: signs in
frontend/src/App.jsx - User → Application dashboard: manages applications
frontend/src/App.jsx - Application dashboard → FastAPI routes: requests internships
frontend/src/App.jsx - FastAPI routes → Application dashboard: returns records
frontend/src/App.jsx - Sign-in UI → Account and tokens: authenticates
- FastAPI routes → Account and tokens: routes account actions
main.py - FastAPI routes → Internship operations: routes application actions
main.py - Account and tokens → SQLAlchemy entities: queries users
main.py - Internship operations → SQLAlchemy entities: queries applications
main.py - FastAPI routes → Database sessions: creates sessions
main.py - SQLAlchemy entities → Database sessions: uses declarative base
models.py - Database sessions → PostgreSQL: connects to
database.py