first commit
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
pip
|
||||
+51
@@ -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`
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
__editable__.secretary_api-0.1.0.pth,sha256=xWA6mdTN56MKvcDj3cP2qKihvV34R2nr0xpFtzrE_vA,97
|
||||
__editable___secretary_api_0_1_0_finder.py,sha256=9Q_47EiNiwRQ6hab_gF5aLIMujeizEZpDZHFyAiGmPw,3397
|
||||
__pycache__/__editable___secretary_api_0_1_0_finder.cpython-312.pyc,,
|
||||
secretary_api-0.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
secretary_api-0.1.0.dist-info/METADATA,sha256=4W75hHpOTf8y7HdSsp2wMUE0px1SlRX817emZfLwoyc,1159
|
||||
secretary_api-0.1.0.dist-info/RECORD,,
|
||||
secretary_api-0.1.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
secretary_api-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
||||
secretary_api-0.1.0.dist-info/direct_url.json,sha256=HCUs2ApgVWoRD4KMcjEy1jCsfh__ASIZ8d21poaSjdA,90
|
||||
secretary_api-0.1.0.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (83.0.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"dir_info": {"editable": true}, "url": "file:///home/b24014/baron_qa/apps/secretary-api"}
|
||||
Reference in New Issue
Block a user