Skip to content

paultdo/flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flow

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.


Setup

Prerequisites

  • Docker — for the database
  • uv — for Python dependency management

1. Configure your environment

Create a .env file inside the backend/ directory:

DATABASE_URL=mysql+pymysql://root:yourpassword@localhost:3306/focusflow

2. Start the database

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.


3. Start the backend

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.


4. Start the frontend

From the frontend/ directory:

npm install
npm run dev

The app will be running at http://localhost:5173.


Stopping the database

docker compose down

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors