Skip to content

A minimalist daily log tracker - reflect on what you did today. Built with Python + Flask on the backend and a React + TypeScript frontend.

License

Notifications You must be signed in to change notification settings

johnshields/looking-glass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪞LookingGlass

A minimalist daily log tracker - reflect on what you did today.
Built with Python + Flask, MySQL and React + TypeScript.

image

📁 Directory Structure

LookingGlass/
├── .env
├── main.py
├── backend/
│   ├── database/
│   │   └── db.py
│   ├── openapi_server/
│   │   ├── controllers/
│   │   ├── models/
│   │   └── openapi/
│   │       └── openapi.yaml
├── frontend/
│   ├── public/
│   └── src/
│       ├── types.ts
│       └── App.tsx
└─────────────────────────────

Run service

Requirements


⚙️ Backend Setup

  1. 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
  1. Configure environment variables in .env:
MYSQL_USER=root
MYSQL_PASSWORD=your_password
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_DB=lookingglass_db
  1. Create database:
mysql -u root -p < works/sql/lookingglass_db.sql

▶️ Start the App

From PowerShell or Command Prompt:

.\start.bat
  • Backend: http://localhost:8080
  • Docs: http://localhost:8080/ui
  • Health Check: GET /api/
  • Frontend: http://localhost:5174

About

A minimalist daily log tracker - reflect on what you did today. Built with Python + Flask on the backend and a React + TypeScript frontend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published