Problème → Solution → Impact
ObjectifObjective
Concevoir une API backend robuste pour digitaliser la gestion d'une bibliothèque : catalogue, exemplaires physiques, utilisateurs et cycle de prêt/retour.Design a robust backend API to digitize library management: catalog, physical copies, users and the loan/return lifecycle.
SolutionSolution
Architecture en couches FastAPI + SQLAlchemy avec validation Pydantic, héritage utilisateurs (Members / Librarians), relations Many-to-Many Books ↔ Authors et workflow de prêts complet.Layered FastAPI + SQLAlchemy architecture with Pydantic validation, user inheritance (Members / Librarians), Books ↔ Authors Many-to-Many relations and a complete loan workflow.
RésultatResult
API documentée (Swagger + ReDoc), testable via pytest et Postman, prête à être consommée par un frontend ou des intégrations tierces.Documented API (Swagger + ReDoc), testable via pytest and Postman, ready to be consumed by a frontend or third-party integrations.