This is a Cookiecutter template for bootstrapping a Spring Boot microservice with:
- Java 17 + Maven
- Dockerfile for containerization
- Kubernetes manifests for deployment to GKE
- Terraform config for provisioning GKE
- GitHub Actions workflow for CI/CD
Install Cookiecutter:
pip install cookiecutterGenerate your new project:
cookiecutter gh:your-org/cookiecutter-springboot-templateYou’ll be prompted to enter values like:
- project_name
- project_slug
- java_package
- author_name
Then cd into your generated project and follow the README instructions to build, push, and deploy.