LogiMath follows a feature-branch workflow: every change — whether a bug fix, new screen, or API endpoint — lives on its own branch until it is reviewed and merged toDocumentation 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.
main. Merging to main triggers an automatic deployment to Render, so the branch model doubles as the release gate for production.
Feature branch workflow
Clone the repository and create a feature branch
Start by cloning the repo and immediately branching off Use a descriptive branch name that reflects the work:
main:feature/quiz-score-fix, feature/login-screen, fix/db-connection-timeout. Avoid generic names like feature/update or my-branch.Start services with Docker Compose
With your branch checked out, bring up the full stack:The backend starts at
http://localhost:8000 and PostgreSQL at localhost:5432. Keep this terminal open while you work.Make your changes
Edit files under
src/BackEnd/ for backend changes — the running container picks up Python changes via uvicorn --reload. For frontend changes in src/FrontEnd/, run the Flet app directly on your host machine (python mainApp.py in a separate terminal) since there is no frontend Docker service.Commit using conventional commits format
LogiMath uses Conventional Commits for all commit messages. The format is:Common types:
Good commit message:Bad commit message:Follow the atomic commits principle: one commit = one logical change. A commit should be independently testable and reversible without touching unrelated code. Never bundle a bug fix and a new feature in the same commit.
| Type | When to use |
|---|---|
feat | A new feature or user-visible behaviour |
fix | A bug fix |
refactor | Code change that neither fixes a bug nor adds a feature |
docs | Documentation changes only |
test | Adding or updating tests |
chore | Dependency updates, config changes, tooling |
Push your branch and open a Pull Request
main. Include in the PR description:- What the change does and why
- How to test it locally
- Any environment variable additions or schema changes