Installation
Prepare the local toolchain and start SmartGare's infrastructure, backend, frontends, and documentation.
Prerequisites
| Tool | Version or requirement |
|---|---|
| Java | 25 |
| Maven | Compatible with the multi-module build |
| Node.js | 22 or newer |
| pnpm | 11.5.2 through Corepack |
| Bun | Required only for developer-docs |
| Docker | Running for local services and Testcontainers |
Everything in one command
From the workspace folder that holds the repositories:
make devIt starts the local infrastructure, the all-in-one server and the back office,
supervision and counter apps, each signed in through SmartGare's own sign-in.
Keycloak is not needed. On a fresh database, sign in at
http://localhost:5101/console as admin / admin; the first sign-in asks
for a new password. See
First sign-in and the administrator.
The sections below start each part on its own.
Backend infrastructure
From smartgare-services:
docker compose -f infra/local/docker-compose.local.yaml up -d postgres redis kafka document-store mailpit| Service | Local port |
|---|---|
| PostgreSQL | 5432 |
| Redis | 6379 |
| Kafka | 9092 |
| Keycloak (optional) | 9002 |
Keycloak is only needed to try linking a provider (make identity); the local
stack signs in without it.
Backend application
make apiThe API listens on http://localhost:8080, which is also SmartGare's sign-in
service on the local profile. OpenAPI is available at /v3/api-docs and
Swagger UI at /swagger-ui.html.
Frontend applications
From smartgare-frontend:
corepack enable
pnpm install
pnpm dev| Application | Port | Runtime |
|---|---|---|
| Back-office | 5101 | TanStack Start, SSR |
| Supervision | 5102 | Vite SPA |
| Counter | 5103 | Vite SPA; Tauri shell planned |
Developer documentation
From smartgare-docs:
bun install
bun run devOpen http://localhost:3000.
Quality gates
mvn test
mvn verify
mvn spotless:applymvn verify uses Testcontainers and requires Docker.