# TTS 저장/조회/삭제 앱 ## 프로젝트 구조 ``` . ├── client │ ├── static │ └── templates ├── server │ ├── db.py │ ├── main.py │ └── tts_service.py ├── resources ├── .env ├── .env.example ├── requirements.txt └── README.md ``` ## 실행 방법 1) 의존성 설치 ``` pip install -r requirements.txt ``` 2) 환경 변수 설정 ``` cp .env.example .env ``` `.env`에 DB 계정 정보를 입력하세요. 3) 서버 실행 ``` uvicorn server.main:app --reload ``` 4) 접속 ``` http://localhost:8000 ``` ## 주의 사항 - PostgreSQL 접속 정보는 프로젝트 루트의 `.env`에서 로드합니다. - `server/`에서 실행하더라도 루트 `.env`가 적용됩니다. - ffmpeg가 설치되어 있어야 합니다. - mp3 파일은 `resources/` 아래에 저장됩니다.