Development Setup
Prerequisites
Section titled “Prerequisites”- JDK 21+
- Node.js 20+
- Docker (for PostgreSQL)
git clone https://github.com/plugwerk/plugwerk.gitcd plugwerkdocker compose up -d postgres./gradlew buildRunning the Server
Section titled “Running the Server”./gradlew :plugwerk-server:plugwerk-server-backend:bootRunThe server starts at http://localhost:8080.
Frontend Development
Section titled “Frontend Development”cd plugwerk-server/plugwerk-server-frontendnpm installnpm run devVite dev server runs at http://localhost:5173 and proxies API requests to the backend.
Running Tests
Section titled “Running Tests”# Backend (all modules)./gradlew build
# Frontendcd plugwerk-server/plugwerk-server-frontendnpm run test:runCode Style
Section titled “Code Style”| Language | Check | Fix |
|---|---|---|
| Kotlin | ./gradlew spotlessCheck | ./gradlew spotlessApply |
| TypeScript | npm run lint | npm run lint -- --fix |
Always run the formatter before committing.