How edomate/be-student-service works
This is a FastAPI student-and-parent service for school operations. The principal workflow is an authenticated client calling a routed API, which delegates domain work and returns results; its modules cover student records, academics, exams, and learning, alongside broader campus capabilities. Shared SQLAlchemy mappings use the configured MySQL database, while file-handling services can use S3. The README is empty, so capabilities and relationships below are based on the tree and SOURCE INDEX; unsampled subsystems are included without asserting unverified internal calls.
Main entry points: main.py FastAPI app · database.py MySQL database · lms/router.py Learning routes · students/router.py Student routes
Components 23
API and identity
- FastAPI app
main.py - Auth routes
app/modules/auth/router.py - Authentication
app/modules/auth/service.py - Student identity
app/modules/auth/dependencies.py
Learning and academics
- Academics
app/modules/academics - Exams
app/modules/exams - Learning routes
app/modules/lms/router.py - Learning services
app/modules/lms
Student records
- Student routes
app/modules/students/router.py - Student operations
app/modules/students/service.py - Student data access
app/modules/students/repository.py - Student mappings
app/modules/students/models.py
Campus services
- Fee management
app/modules/fees - Hostel management
app/modules/hostel - Library
app/modules/library - Events
app/modules/events - Other campus features
app/modules - Dashboard summaries
app/modules/dashboard - Notifications
app/modules/notifications
Shared infrastructure
- MySQL database
core/database.py - S3 storage
core/storage.py - gRPC service
app/grpc/server.py
Other components
- Student or parent
Connections 29
- Student or parent → FastAPI app: sends requests
main.py - FastAPI app → Auth routes: registers routes
main.py - FastAPI app → Student routes: registers routes
main.py - FastAPI app → Learning routes: registers routes
main.py - FastAPI app → Academics: registers routes
main.py - FastAPI app → Exams: registers routes
main.py - FastAPI app → Fee management: registers routes
main.py - FastAPI app → Hostel management: registers routes
main.py - FastAPI app → Library: registers routes
main.py - FastAPI app → Events: registers routes
main.py - FastAPI app → Dashboard summaries: registers routes
main.py - FastAPI app → Notifications: registers routes
main.py - FastAPI app → Other campus features: registers routes
main.py - FastAPI app → gRPC service: starts server
main.py - Auth routes → Authentication: delegates to
- Student routes → Student operations: delegates to
- Student operations → Student data access: uses
app/modules/students/service.py - Student data access → Student mappings: queries
app/modules/students/repository.py - Learning routes → Learning services: dispatches to
app/modules/lms/router.py - Learning routes → Student identity: authenticates with
app/modules/lms/router.py - Student routes → Student identity: authenticates with
- Academics → MySQL database: uses mappings
app/modules/academics/models.py - Exams → MySQL database: uses mappings
- Fee management → MySQL database: uses mappings
app/modules/fees/models.py - Hostel management → MySQL database: uses mappings
app/modules/hostel/models.py - Library → MySQL database: uses mappings
app/modules/library/models.py - Student mappings → MySQL database: uses mappings
app/modules/students/models.py - Student operations → S3 storage: stores files
app/modules/students/service.py - FastAPI app → MySQL database: checks connection
main.py