diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed08e06 --- /dev/null +++ b/README.md @@ -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) diff --git a/SYNOLOGY_INSTALL.md b/SYNOLOGY_INSTALL.md index bb2e8a8..4a035dd 100644 --- a/SYNOLOGY_INSTALL.md +++ b/SYNOLOGY_INSTALL.md @@ -281,3 +281,5 @@ curl http://localhost:4000 ``` μ„€μΉ˜ μ™„λ£Œ ν›„ `http://[μ‹œλ†€λ‘œμ§€_IP]:4000`으둜 μ ‘μ†ν•˜μ—¬ Todo Projectλ₯Ό μ‚¬μš©ν•˜μ„Έμš”! πŸŽ‰ + + diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 10b2699..18e9576 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -2,11 +2,14 @@ requires = ["hatchling"] build-backend = "hatchling.build" +[tool.hatch.build.targets.wheel] +packages = ["src"] + [project] name = "todo-project" version = "0.1.0" description = "독립적인 할일 관리 μ‹œμŠ€ν…œ" -readme = "README.md" +# readme = "README.md" requires-python = ">=3.8" dependencies = [ "fastapi>=0.104.1", diff --git a/backend/src/core/config.py b/backend/src/core/config.py index f235a29..96d93c1 100644 --- a/backend/src/core/config.py +++ b/backend/src/core/config.py @@ -15,7 +15,7 @@ class Settings(BaseSettings): 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 μ„€μ • SECRET_KEY: str = "your-secret-key-change-this-in-production" diff --git a/frontend/Dockerfile b/frontend/Dockerfile new file mode 100644 index 0000000..8562e2b --- /dev/null +++ b/frontend/Dockerfile @@ -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;"] + + diff --git a/frontend/classify.html b/frontend/classify.html index 78b7289..484780b 100644 --- a/frontend/classify.html +++ b/frontend/classify.html @@ -650,3 +650,5 @@ + + diff --git a/frontend/manifest.json b/frontend/manifest.json index 6986f14..0ed452e 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -102,3 +102,5 @@ } ] } + + diff --git a/frontend/static/js/api.js b/frontend/static/js/api.js index fcc9702..788eae4 100644 --- a/frontend/static/js/api.js +++ b/frontend/static/js/api.js @@ -163,3 +163,5 @@ const TodoAPI = { window.api = api; window.AuthAPI = AuthAPI; window.TodoAPI = TodoAPI; + + diff --git a/frontend/static/js/auth.js b/frontend/static/js/auth.js index f1523ea..5808d86 100644 --- a/frontend/static/js/auth.js +++ b/frontend/static/js/auth.js @@ -137,3 +137,5 @@ function showLoading(show) { window.currentUser = currentUser; window.logout = logout; window.showLoading = showLoading; + + diff --git a/generate_icons.py b/generate_icons.py index 09ff89a..08000f0 100644 --- a/generate_icons.py +++ b/generate_icons.py @@ -111,3 +111,5 @@ def main(): if __name__ == "__main__": main() + + diff --git a/todo-project.tar.gz b/todo-project.tar.gz new file mode 100644 index 0000000..533bd7c Binary files /dev/null and b/todo-project.tar.gz differ