백업용

This commit is contained in:
Hyungi Ahn
2025-09-19 09:13:44 +09:00
parent 7c5fd5afe6
commit 5c9ea92fb8
11 changed files with 64 additions and 2 deletions

31
README.md Normal file
View File

@@ -0,0 +1,31 @@
# 📱 Todo Project
간단하고 효율적인 할일 관리 시스템
## ✨ 주요 기능
- 📊 **반응형 대시보드**: 데스크톱/모바일 최적화
- 📥 **스마트 분류**: AI 기반 자동 분류 제안
- 📷 **이미지 업로드**: 사진과 함께 메모 관리
- 🏷️ **3가지 분류**: Todo, 캘린더, 체크리스트
- 📱 **PWA 지원**: 홈화면 추가 가능
- 🔄 **시놀로지 연동**: 메일플러스 자동 연동
## 🚀 빠른 시작
```bash
docker-compose up -d
```
접속: http://localhost:4000
## 📋 요구사항
- Docker & Docker Compose
- Python 3.11+
- PostgreSQL 15+
## 📖 자세한 가이드
- [종합 개발 가이드](COMPREHENSIVE_GUIDE.md)
- [시놀로지 설치 가이드](SYNOLOGY_INSTALL.md)

View File

@@ -281,3 +281,5 @@ curl http://localhost:4000
``` ```
설치 완료 후 `http://[시놀로지_IP]:4000`으로 접속하여 Todo Project를 사용하세요! 🎉 설치 완료 후 `http://[시놀로지_IP]:4000`으로 접속하여 Todo Project를 사용하세요! 🎉

View File

@@ -2,11 +2,14 @@
requires = ["hatchling"] requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[project] [project]
name = "todo-project" name = "todo-project"
version = "0.1.0" version = "0.1.0"
description = "독립적인 할일 관리 시스템" description = "독립적인 할일 관리 시스템"
readme = "README.md" # readme = "README.md"
requires-python = ">=3.8" requires-python = ">=3.8"
dependencies = [ dependencies = [
"fastapi>=0.104.1", "fastapi>=0.104.1",

View File

@@ -15,7 +15,7 @@ class Settings(BaseSettings):
VERSION: str = "0.1.0" VERSION: str = "0.1.0"
# 데이터베이스 설정 # 데이터베이스 설정
DATABASE_URL: str = "postgresql+asyncpg://todo_user:todo_password@localhost:5434/todo_db" DATABASE_URL: str = "postgresql+asyncpg://todo_user:todo_password@database:5432/todo_db"
# JWT 설정 # JWT 설정
SECRET_KEY: str = "your-secret-key-change-this-in-production" SECRET_KEY: str = "your-secret-key-change-this-in-production"

16
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# Frontend Dockerfile for Todo Project
FROM nginx:alpine
# 정적 파일들을 nginx 웹 루트로 복사
COPY . /usr/share/nginx/html/
# nginx 설정 파일 복사 (있는 경우)
# COPY nginx.conf /etc/nginx/nginx.conf
# 포트 80 노출
EXPOSE 80
# nginx 실행
CMD ["nginx", "-g", "daemon off;"]

View File

@@ -650,3 +650,5 @@
</script> </script>
</body> </body>
</html> </html>

View File

@@ -102,3 +102,5 @@
} }
] ]
} }

View File

@@ -163,3 +163,5 @@ const TodoAPI = {
window.api = api; window.api = api;
window.AuthAPI = AuthAPI; window.AuthAPI = AuthAPI;
window.TodoAPI = TodoAPI; window.TodoAPI = TodoAPI;

View File

@@ -137,3 +137,5 @@ function showLoading(show) {
window.currentUser = currentUser; window.currentUser = currentUser;
window.logout = logout; window.logout = logout;
window.showLoading = showLoading; window.showLoading = showLoading;

View File

@@ -111,3 +111,5 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()

BIN
todo-project.tar.gz Normal file

Binary file not shown.