LogiMath runs as three coordinated services — a FastAPI backend, a Flet frontend, and a PostgreSQL database. Before starting, copyDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/whitiue/logiMathApp/llms.txt
Use this file to discover all available pages before exploring further.
.env.example to .env in the project root and fill in your values; without this file neither the Docker nor the manual setup will connect to the database.
Your
.env file must never be committed to version control. It is already listed in .gitignore. The required format for the database connection string is:Choose your setup method
- Docker (recommended)
- Without Docker
Docker Compose is the recommended approach for team development because it starts the backend and database together and keeps every developer on an identical environment. The Flet frontend runs directly on your host machine alongside the Docker services.Prerequisites: Docker Desktop installed and running, plus Git.Open Docker builds the backend image from Frontend: Run the Flet frontend directly on your host machine in a separate terminal — there is no frontend Docker service in
Clone the repository and create your .env file
.env and set a strong value for POSTGRES_PASSWORD. Leave @postgres:5432 in DATABASE_URL unchanged — that hostname resolves inside the Docker network.Build and start all services
src/BackEnd/Dockerfile and pulls postgres:16-alpine. On the first run this may take a few minutes.Expected output once all services are healthy:Verify services are running
Open a second terminal and check container status:The backend is available at
http://localhost:8000. To view logs for a specific service:docker-compose.yml. See the Without Docker tab for frontend setup instructions.The
docker-compose.yml does not include a frontend service. The Flet desktop app must be run directly with python mainApp.py from src/FrontEnd/, connecting to the backend at http://localhost:8000.