How jneiras/tm-fastapi works
Project type and purpose
• This is a backend REST API built with Python and FastAPI.
• It follows a layered (onion/hexagonal) architecture: interface (API), application (use-cases), business services, domain, and infrastructure.
• It persists data via SQLAlchemy to a SQLite database.
File structure
• src/interface/api.py: FastAPI app and route definitions (API layer).
• src/application/use_cases.py: orchestrates business logic (Application layer).
• src/services/*.py: core business services for tasks and users.
• src/domain: domain models, DTO schemas, and exceptions (Domain layer).
• src/infrastructure: persistence setup, repository interfaces and implementations, ORM models (Infrastructure layer).
• main.py: likely the entrypoint that boots the FastAPI app.
README for additional insights
• Minimal description (“API .”) but mentions installation steps with npm—this seems a template error; real stack is Python.