백업용
This commit is contained in:
31
README.md
Normal file
31
README.md
Normal 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)
|
||||||
@@ -281,3 +281,5 @@ curl http://localhost:4000
|
|||||||
```
|
```
|
||||||
|
|
||||||
설치 완료 후 `http://[시놀로지_IP]:4000`으로 접속하여 Todo Project를 사용하세요! 🎉
|
설치 완료 후 `http://[시놀로지_IP]:4000`으로 접속하여 Todo Project를 사용하세요! 🎉
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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
16
frontend/Dockerfile
Normal 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;"]
|
||||||
|
|
||||||
|
|
||||||
@@ -650,3 +650,5 @@
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -102,3 +102,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -163,3 +163,5 @@ const TodoAPI = {
|
|||||||
window.api = api;
|
window.api = api;
|
||||||
window.AuthAPI = AuthAPI;
|
window.AuthAPI = AuthAPI;
|
||||||
window.TodoAPI = TodoAPI;
|
window.TodoAPI = TodoAPI;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -111,3 +111,5 @@ def main():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
todo-project.tar.gz
Normal file
BIN
todo-project.tar.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user