first commit
CI / typecheck (push) Successful in 1m8s
CI / format (push) Failing after 1m6s
CI / lint (push) Failing after 49s
CI / test (push) Failing after 1m8s

This commit is contained in:
SDI
2026-07-15 18:05:12 +09:00
commit 12e4f17b62
4633 changed files with 817125 additions and 0 deletions
@@ -0,0 +1,51 @@
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`
@@ -0,0 +1,24 @@
README.md
pyproject.toml
app/__init__.py
app/main.py
app/api/__init__.py
app/api/router.py
app/api/routes/__init__.py
app/api/routes/health.py
app/api/routes/tickets.py
app/core/__init__.py
app/core/config.py
app/db/__init__.py
app/db/base.py
app/db/models.py
app/db/session.py
app/schemas/__init__.py
app/schemas/ticket.py
app/services/__init__.py
app/services/ticket_service.py
secretary_api.egg-info/PKG-INFO
secretary_api.egg-info/SOURCES.txt
secretary_api.egg-info/dependency_links.txt
secretary_api.egg-info/requires.txt
secretary_api.egg-info/top_level.txt
@@ -0,0 +1,7 @@
alembic>=1.16.4
fastapi>=0.116.1
python-multipart>=0.0.20
pydantic-settings>=2.10.1
pymysql>=1.1.1
sqlalchemy>=2.0.42
uvicorn[standard]>=0.35.0
@@ -0,0 +1 @@
app