SmartGare
Getting started

Installation

Prepare the local toolchain and start SmartGare's infrastructure, backend, frontends, and documentation.

Prerequisites

ToolVersion or requirement
Java25
MavenCompatible with the multi-module build
Node.js22 or newer
pnpm11.5.2 through Corepack
BunRequired only for developer-docs
DockerRunning for local services and Testcontainers

Everything in one command

From the workspace folder that holds the repositories:

make dev

It 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
ServiceLocal port
PostgreSQL5432
Redis6379
Kafka9092
Keycloak (optional)9002

Keycloak is only needed to try linking a provider (make identity); the local stack signs in without it.

Backend application

make api

The 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
ApplicationPortRuntime
Back-office5101TanStack Start, SSR
Supervision5102Vite SPA
Counter5103Vite SPA; Tauri shell planned

Developer documentation

From smartgare-docs:

bun install
bun run dev

Open http://localhost:3000.

Quality gates

mvn test
mvn verify
mvn spotless:apply

mvn verify uses Testcontainers and requires Docker.

On this page