quitt is a mobile app for Azubis. It collects receipts, trips and deadlines over the year so you have everything ready for your tax return. It does not give tax advice.
- Git
- Docker Desktop
- Node.js (LTS)
- Expo Go on your phone
Run all commands in the project folder (Quitt), unless a step says otherwise.
git clone https://github.com/Quitt-Project/Quitt.git
cd Quitt
cp .env.example .envdocker compose up -dThis starts the database, the API and Adminer. Migrations run automatically when the backend starts.
- API: http://localhost:8000 (docs at
/docs) - Adminer: http://localhost:8080 (System: PostgreSQL, Server:
db, user, password and database:quitt)
Stop everything with docker compose down. Logs: docker compose logs -f backend.
If someone changed backend/requirements.txt, rebuild with docker compose up -d --build.
cd mobile
npm install
npx expo startScan the QR code with Expo Go. Phone and laptop need to be in the same Wi-Fi. More in mobile/README.md.
.env contains the database settings (POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB). The defaults from .env.example are fine for development. The backend gets its DATABASE_URL from docker-compose.yml.
After you change a model in backend/app/models/:
docker compose run --rm backend alembic revision --autogenerate -m "describe the change"
docker compose run --rm backend alembic upgrade headCheck the new file in backend/alembic/versions/ before you commit it.
Branches, commits and pull requests: see docs/git-workflow.md.