2025-11-29 08:50:11 +05:00
2025-11-22 07:35:06 +00:00
2025-11-22 13:56:45 +05:00

Test Task CRM

FastAPI backend template that follows the architecture described in the system prompt: async SQLAlchemy ORM, Alembic-ready models, service/repository layers, JWT auth helpers, and Pydantic v2 schemas.

Quick start

  1. Create a .env file based on variables in app/core/config.py.
  2. Install dependencies:
    uv sync
    
  3. Run the development server:
    uv run python main.py
    

Project layout

app/
  api/            # FastAPI routers and dependencies
  core/           # Settings, database, security helpers
  models/         # SQLAlchemy models and Pydantic schemas
  repositories/   # Data access layer (SQLAlchemy ORM usage)
  services/       # Business logic (auth, users, etc.)

Add new routers under app/api/v1, repositories under app/repositories, and keep business rules inside app/services.

S
Description
No description provided
Readme 1.1 MiB
Languages
Python 40.2%
JavaScript 30.4%
TypeScript 28.2%
CSS 0.6%
HTML 0.3%
Other 0.2%