Metadata-Version: 2.4
Name: secretary-api
Version: 0.1.0
Summary: BARON Office Support System FastAPI backend
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: alembic>=1.16.4
Requires-Dist: fastapi>=0.116.1
Requires-Dist: python-multipart>=0.0.20
Requires-Dist: pydantic-settings>=2.10.1
Requires-Dist: pymysql>=1.1.1
Requires-Dist: sqlalchemy>=2.0.42
Requires-Dist: uvicorn[standard]>=0.35.0

# secretary-api

BARON Office Support System용 FastAPI 백엔드 초안.

## 포함 범위

- FastAPI 앱 엔트리포인트
- 기본 헬스체크 라우트
- SQLAlchemy 엔진/세션 설정
- Alembic 마이그레이션 골격
- P0 기준 1차 스키마 마이그레이션 초안

## 로컬 실행

```bash
cd apps/secretary-api
python -m venv .venv
source .venv/bin/activate
pip install -e .
uvicorn app.main:app --reload --port 8010
```

## 마이그레이션

```bash
cd apps/secretary-api
alembic upgrade head
```

## 환경 변수

`.env.example`를 기준으로 로컬 `.env`를 작성.

기본 로컬 DB 분리 정책:

- ABC MySQL: `127.0.0.1:13306` / `userfeedback`
- secretary-api MySQL: `127.0.0.1:13308` / `baron_support`
