# Honeymoon trip site (Flask + plain HTML/CSS/JS) ## What it is - Minimal Flask backend with session auth (credentials from `.env`) - Plain frontend (no framework) - SQLite persistence for: - To-do list - Expenses (JPY/EUR) - Designed to run **only inside Docker network** (behind your nginx/SSL reverse proxy) ## Local setup 1. Create `.env` from [`./.env.example`](./.env.example:1) 2. Create the external docker network (once): ```bash docker network create misc ``` 3. Build and run: ```bash docker compose up -d --build ``` The container exposes port `8000` **only to the `misc` network** (no host port published). ## Reverse proxy (nginx) Point your nginx upstream to `honeymoon:8000` on the `misc` network. ## Files - Backend: [`server.py`](server.py:1) - Templates: [`templates/index.html`](templates/index.html:1), [`templates/login.html`](templates/login.html:1) - Static: [`static/app.js`](static/app.js:1), [`static/style.css`](static/style.css:1) - Docker: [`Dockerfile`](Dockerfile:1), [`docker-compose.yml`](docker-compose.yml:1)