This is the backend service for the Boilerplate Webapp, implemented with Kotlin and Spring Boot.
Features
- Spring Boot application with embedded web server.
- Simple REST API exposing a
/hello
endpoint returning a greeting message.
- Easily extendable for additional backend functionality.
- Comprehensive tooling for testing, static analysis, formatting, and security scanning.
- Integrated unit and integration testing with coverage reports.
- Security scanning with OWASP Dependency-Check, Trivy, and automated SAST workflows.
Prerequisites
- JDK 17+ (recommended JDK 21 for Kotlin compilation)
- Gradle (or use the provided Gradle wrapper)
- Docker (for development environment with Docker Compose)
Running Locally
-
Clone the repository:
git clone <https://github.com/ghdrope/boilerplate-webapp.git>
cd boilerplate-webapp/backend
-
Run the Spring Boot application in development mode:
make dev
-
Access the backend endpoint:
Build and Test Commands