To run the backend in locally:
docker-compose up -d
./gradlew runTo run the backend itself with docker compose:
docker-compose --profile backend upOnce the application is running, you can test the User API using curl.
curl -X POST -H "Content-Type: application/json" \
-d '{"name": "Jane Doe", "email": "jane@example.com"}' \
http://localhost:8080/userscurl http://localhost:8080/users
You can access the interactive Swagger UI documentation at:
This allows you to explore endpoints and test requests directly from your browser.
The project includes integration tests that use an in-memory H2 database.
./gradlew testWe use Detekt for static analysis and formatting (via detekt-formatting).
./gradlew detekt