Spring Boot REST API (server) with Svelte + Vite frontend (client).
| Layer | Framework / Lib | Language | Build |
|---|---|---|---|
| Frontend | Svelte 5 + Vite | JS | npm |
| Backend | Spring Boot 3.5 | Java 21 | Maven / Maven Wrapper |
| Database | PostgreSQL | SQL | — |
| Auth | JWT session filter | Java | — |
| Welcome | Auth | Admin |
|---|---|---|
Start here: https://github.com/vadderrn/config#windows
Install with scoop:
scoop bucket add java
scoop install java/openjdk21
scoop install unzip postgresql
# start the PostgreSQL service:
pg_ctl start -D "$env:LOCALAPPDATA\scoop\apps\postgresql\current\data"
# or, if installed as a Windows service:
sc start postgresql
# verify it works:
pg_isready
| Script | What it does |
|---|---|
sh init.sh |
Creates dashboard DB, runs mvnw dependency:resolve (server) + npm install (client) |
$env:DB_USERNAME="postgres"; $env:DB_PASSWORD=""; sh run.sh |
Starts server (:8080) + client dev server (:5173) in background |
Run init.sh once before first run.sh. The server reads DB_USERNAME (default postgres) and DB_PASSWORD (default empty) from environment. Set them if your setup uses different credentials:
export DB_USERNAME=postgres
export DB_PASSWORD=
sh run.sh