A minimalist daily log tracker - reflect on what you did today.
Built with Python + Flask, MySQL and React + TypeScript.
LookingGlass/
├── .env
├── main.py
├── backend/
│ ├── database/
│ │ └── db.py
│ ├── openapi_server/
│ │ ├── controllers/
│ │ ├── models/
│ │ └── openapi/
│ │ └── openapi.yaml
├── frontend/
│ ├── public/
│ └── src/
│ ├── types.ts
│ └── App.tsx
└─────────────────────────────
- Git
- Python 3.11+
- MySQL
- Node.js (for frontend)
- Init App:
git clone https://github.com/johnshields/looking-glass.git
cd looking-glass
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt- Configure environment variables in
.env:
MYSQL_USER=root
MYSQL_PASSWORD=your_password
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_DB=lookingglass_db- Create database:
mysql -u root -p < works/sql/lookingglass_db.sqlFrom PowerShell or Command Prompt:
.\start.bat- Backend:
http://localhost:8080 - Docs:
http://localhost:8080/ui - Health Check:
GET /api/ - Frontend:
http://localhost:5174
