An event-driven productivity planner where users create tasks, organize projects, generate daily focus plans, run focus sessions, automate simple tasks, and view a timeline of events.
Create a .env file inside the backend/ directory:
DATABASE_URL=mysql+pymysql://root:yourpassword@localhost:3306/focusflow
From the project root:
docker compose up -d
This starts a MySQL 8.0 container on port 3306. Your data persists in a Docker-managed volume.
From the backend/ directory:
uv run uvicorn main:app --reload
On startup, the API will connect to the database and automatically create any missing tables.
The API will be running at http://localhost:8000.
From the frontend/ directory:
npm install
npm run dev
The app will be running at http://localhost:5173.
docker compose down