Spring Boot All-In-One-Devcontainer
Starting a new project for a microservice based on spring boot makes you consider a lot of things.
This is on opinionated template that should get you kickstarted. It contains a micro service implemented with spring boot and JDK21. These aspects are covered:
- Container based local development
- JDK21 based spring boot web service (a games database)
- Spring Boot default metrics
- Service shows how to export your own custom metrics.
- Build-Pipeline that builds the project on each commit. A code coverage report is generated and published to the projects website.
- Monitoring:
- Prometheus to gather metrics
- Grafana to visualize gathered metrics
- Alertmanager to send alert messages - based on gathered metrics.
- Bruno API-Request Collection
- Mailcatcher as FakeSMTP to enable sending alert mails
- MSSQL DB 2022
- Adminer as GUI tool to manage DBs
- MSSQL Tools if you don’t like GUIs
You can click the green Use this template button in the upper right corner to create a your own project.