Development¶
Prerequisites¶
- JDK 25 (Temurin recommended)
- Node.js 22.22+ (required by react-router v8 at build time)
- Docker (for Testcontainers)
Clone and Build¶
Backend¶
docker compose -f docker-compose.dev.yml up -d db # PostgreSQL 16 on localhost:5432 (taskowolf/taskowolf)
cd backend
./gradlew bootRun
The backend starts on http://localhost:8080 with the dev profile (local PostgreSQL, Swagger UI enabled).
The Flyway migrations are PostgreSQL-only, so there is no in-memory database. Point the dev profile at another
database with TW_DB_URL / TW_DB_USER / TW_DB_PASS. Data survives restarts in the dev-pgdata volume
(docker compose -f docker-compose.dev.yml down -v resets it).
Frontend¶
The frontend dev server starts on http://localhost:5173 and proxies API calls to localhost:8080.
Running Tests¶
Backend¶
Tests use H2 for unit tests and Testcontainers (PostgreSQL) for integration tests.
Windows note: Docker Desktop must be running (Testcontainers 2 negotiates the Docker API version itself; no TCP socket needed).
Frontend¶
Database Migrations¶
Flyway migrations live in backend/src/main/resources/db/migration/. The current version is V21. New migrations must follow the naming convention V{n}__{description}.sql.
Project Structure¶
TaskWolf/
├── backend/ # Kotlin / Spring Boot
│ └── src/
│ ├── main/kotlin/com/taskowolf/
│ │ ├── auth/ # JWT, OAuth2, SSO, API keys
│ │ ├── audit/ # Audit logs
│ │ ├── organizations/# Multi-tenancy
│ │ ├── servicedesk/ # SLA, incidents
│ │ ├── projects/ # Projects, workflows
│ │ ├── issues/ # Issue lifecycle
│ │ ├── sprints/ # Sprint management
│ │ ├── boards/ # Kanban/Scrum
│ │ ├── automation/ # No-code rules
│ │ ├── reports/ # Velocity, cycle time
│ │ └── integrations/ # Webhooks, GitHub, GitLab
│ └── resources/
│ └── db/migration/ # Flyway SQL migrations V1–V21
└── frontend/ # React 19 / TypeScript / Vite
Architecture¶
TaskWolf is a modular monolith. Modules communicate via Spring ApplicationEvents — no direct service-to-service calls across module boundaries. Each module owns its domain, application, infrastructure, and API layers.