How kumarvalavala66/acadex works
Acadex is a student organizer. Students use its React app to manage tasks and deadlines, view exams and holidays, track learning tasks and reflections, and review progress; the app sends requests to a FastAPI backend, which persists data in SQLite. Authentication supports registration, login, and profile/password management. The graph includes documented product areas whose implementation was not sampled; those relationships are dashed where the excerpts do not establish the wiring.
Main entry points: App.jsx App shell · api.js API client · main.py FastAPI app · auth.py Authentication routes
Components 24
Student app
- App shell
frontend/src/App.jsx - Calendar
frontend/src/pages/Calendar.jsx - Work tasks
frontend/src/pages/Work.jsx - Learning diary
frontend/src/pages/Learning.jsx - Exam results
frontend/src/pages/Exams.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Achievements
frontend/src/pages/Achievements.jsx - Board
frontend/src/pages/Board.jsx - Login and register
frontend/src/pages/Login.jsx - Settings
frontend/src/pages/Settings.jsx - API client
frontend/src/services/api.js
Backend API
- FastAPI app
backend/app/main.py - Authentication routes
backend/app/routers/auth.py - Task routes
backend/app/routers/tasks.py - Exam routes
backend/app/routers/exams.py - Holiday routes
backend/app/routers/holidays.py - Learning routes
backend/app/routers/learning.py
Persistence and security
- Database session
backend/app/database.py - SQLite database
backend/app/database.py - Token security
backend/app/security.py - User model
backend/app/models/user.py - Diary model
backend/app/models/diary_entry.py - Learning task model
backend/app/models/learning_task.py
Other components
- Student
Connections 33
- Student → App shell: uses
README.md - App shell → FastAPI app: connects to
- App shell → Calendar: routes to
- App shell → Work tasks: routes to
- App shell → Learning diary: routes to
- App shell → Exam results: routes to
- App shell → Dashboard: routes to
- App shell → Achievements: routes to
- App shell → Board: routes to
- App shell → Login and register: routes to
- App shell → Settings: routes to
- Calendar → API client: requests data
frontend/src/pages/Calendar.jsx - Work tasks → API client: requests data
frontend/src/pages/Work.jsx - Learning diary → API client: requests data
frontend/src/pages/Learning.jsx - API client → FastAPI app: sends HTTP requests
frontend/src/services/api.js - API client → Authentication routes: calls auth endpoints
- API client → Task routes: calls task endpoints
- API client → Exam routes: calls exam endpoints
- API client → Holiday routes: calls holiday endpoint
- API client → Learning routes: calls learning endpoints
- FastAPI app → Authentication routes: registers router
backend/app/main.py - FastAPI app → Task routes: registers router
backend/app/main.py - FastAPI app → Exam routes: registers router
backend/app/main.py - FastAPI app → Holiday routes: registers router
backend/app/main.py - FastAPI app → Learning routes: registers router
backend/app/main.py - FastAPI app → Database session: creates tables
backend/app/main.py - Authentication routes → Database session: gets session
backend/app/routers/auth.py - Authentication routes → Token security: uses password and token functions
backend/app/routers/auth.py - Token security → Database session: gets session
backend/app/security.py - Token security → User model: queries user
backend/app/security.py - Database session → SQLite database: connects to
backend/app/database.py - Learning routes → Learning task model: uses
- Learning routes → Diary model: uses