How sushma52005/student-mark-service works
This is a small FastAPI student-mark service. Clients submit student records or request health, listing (optionally filtered by name), individual lookup, updates, and deletion. The API delegates record operations to a repository that keeps data in an in-memory dictionary; the Pydantic model defines and validates student fields. The source excerpts show these links, but do not show persistence beyond process memory or other integrations.
Main entry points: app.py Student API · rep.py Student Repository · models.py Student Model
Components 4
HTTP API
- Student API
app.py
Student Domain
- Student Model
models.py
In-Memory Storage
- Student Repository
rep.py
Other components
- HTTP Client
Connections 5
- HTTP Client → Student API: sends requests
app.py - Student API → Student Repository: calls CRUD
app.py - Student API → Student Model: validates records
app.py - Student Repository → Student Model: stores records
rep.py - Student API → HTTP Client: returns responses
app.py