Skip to content
Quitt-ProjectPublic

About

Quitt sein!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

Repository files navigation

quitt

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.

Requirements

  • Git
  • Docker Desktop
  • Node.js (LTS)
  • Expo Go on your phone

Setup

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 .env

Start the backend

docker compose up -d

This starts the database, the API and Adminer. Migrations run automatically when the backend starts.

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.

Start the app

cd mobile
npm install
npx expo start

Scan the QR code with Expo Go. Phone and laptop need to be in the same Wi-Fi. More in mobile/README.md.

Environment variables

.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.

Database migrations

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 head

Check the new file in backend/alembic/versions/ before you commit it.

Working on the project

Branches, commits and pull requests: see docs/git-workflow.md.

About

Quitt sein!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages