16 lines
676 B
Markdown
16 lines
676 B
Markdown
# Match Agency — Python Microservices Skeleton
|
|
|
|
**Stack**: Python (FastAPI) • PostgreSQL • SQLAlchemy 2.0 • Alembic • Docker Compose
|
|
**Gateway**: Nginx • **CI/CD**: Drone
|
|
|
|
## Quick Start
|
|
1) `cp .env.example .env`
|
|
2) `docker compose up --build`
|
|
3) Gateway: http://localhost:8080 (routes: /auth, /profiles, /match, /chat, /payments)
|
|
|
|
## Structure
|
|
- services/* — микросервисы (ООП-слои: repositories/services)
|
|
- infra/db/init — init-скрипты Postgres (создание БД под сервисы)
|
|
- infra/gateway — конфиг Nginx (API gateway)
|
|
- .drone.yml — CI/CD (pytest + docker build)
|