Quick Start
Quick Start
Section titled “Quick Start”This guide gets the Kazier backend and the Android app running on your machine.
Prerequisites
Section titled “Prerequisites”| Tool | Version |
|---|---|
| Go | 1.26+ |
| Docker | latest (for PostgreSQL) |
| Android Studio | latest stable |
| JDK | 17 |
1. Clone the repository
Section titled “1. Clone the repository”git clone https://gitlab.thirdshop.fr/thirdshop/kasier.gitcd kasier2. Start PostgreSQL
Section titled “2. Start PostgreSQL”docker compose up -d postgres --waitThis starts a PostgreSQL 17 container with the database kazier_dev
(user kazier, password kazier). See Docker Setup
for details.
3. Run the backend
Section titled “3. Run the backend”cd backendgo run cmd/server/main.goThe server listens on http://localhost:8080 by default. On first start it
creates the admin account from ADMIN_USERNAME and ADMIN_PASSWORD (see
Environment Variables).
# Health checkcurl http://localhost:8080/api/v1/health# → {"data":{"status":"healthy"}}4. Run the Android app
Section titled “4. Run the Android app”Open the mobile-kotlin/ directory in Android Studio and run the app on an
emulator or a connected device.
The emulator reaches your local backend through the default base URL:
http://10.0.2.2:8080/api/v1On a physical device, configure the server URL in the app settings to point to your machine’s LAN address.
5. Verify the sync
Section titled “5. Verify the sync”- Add a file to a SAF folder visible to the app.
- The file is imported locally and shown in the app.
- When you “keep” the file, its metadata is pushed to the backend through the outbox worker.
The server does not receive the physical file — only its metadata.
# Backendcd backend && go test ./...
# Android (JVM unit tests)cd mobile-kotlin && ./gradlew :app:testDebugUnitTest