https://github.com/nsbno/trafficinfo-baseline-micronaut
Trafficinfo baseline for services based on Micronaut
https://github.com/nsbno/trafficinfo-baseline-micronaut
docker gradle kotlin micronaut
Last synced: 2 months ago
JSON representation
Trafficinfo baseline for services based on Micronaut
- Host: GitHub
- URL: https://github.com/nsbno/trafficinfo-baseline-micronaut
- Owner: nsbno
- License: mit
- Created: 2019-09-27T10:26:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-07-15T22:15:28.000Z (4 months ago)
- Last Synced: 2025-07-16T21:18:11.357Z (4 months ago)
- Topics: docker, gradle, kotlin, micronaut
- Language: Kotlin
- Size: 464 KB
- Stars: 5
- Watchers: 15
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://circleci.com/gh/nsbno/trafficinfo-baseline-micronaut)
# Microservice baseline - based on Micronaut with Kotlin
This project serves as a baseline when you wish to create a new microservice.
## Tech
- Latest Micronaut
- Latest Kotlin
- Latest Gradle
## Application Documentation
- [Development](/docs/development.md)
- [Installation](/docs/installation.md)
- [Configuration](/docs/configuration.md)
- [Operation](/docs/operation.md)
## Technical Requirements.
### MUST
- must contain JavaDoc for the most important classes containing the main app/business logic
- must contain JavaDoc for the most important methods containing the main app/business logic.
- must respond to /health endpoint with status 200 if UP.
- must send log to CloudWatch and to elasticsearch/kibana
- must send metrics to CloudWatch
- must use access token to authenticate user
- must use CloudWatch Alarms for to notify when something is wrong.
- must be deployed using deployment pipeline
- must be deployed using terraform code.
### MAY
- may use access token scopes to authorize user for fine-grained access control.
## Infrastructure checklist for new microservice
### Create a new repository with "use this template" on GitHub.
Clone repository and update all references to micronaut baseline with new project name
1. gradle config
2. source code, packages, classes etc.
3. terraform code
4. circleci config
5. readme.md
### Add deployment pipeline
1. add statemachine for deployment pipeline.
2. add ecr repo in service account for docker images.