module
Version:
v0.0.0-...-5589121
Opens a new window with list of versions in this module.
Published: Aug 10, 2023
License: MIT
Opens a new window with license information.
README
¶
cng-hello-backend
Showcase of a cloud native application in Go.
1. How to run:
Local
go run .\cmd\cng-hello-backend
Local with database
docker compose -f deployment/docker/cng-hello-backend-ressources/docker-compose.yml up --detach
go run .\cmd\cng-hello-backend
docker-compose
docker build -f ./build/package/docker/Dockerfile -t cng-hello-backend --build-arg version=$$(cat VERSION) .
docker compose -f deployment/docker/cng-hello-backend-standalone/docker-compose.yml up --detach
2. Thougths on the project
Initial thoughts
- Is Go ready to be used in the cloud enterprise environment ?
- Can Go detach big ship backends like java ?
20.02.2022
- Some general packages for tracing, logging, and auth with a clean api needs to be implemented in order to not always do everything from scratch
07.06.2023
- Using otel for logs/traces/metrics with existing contrib instrumentation makes life a lot easier.
3. Done
General
Database
Build/Deployment
Auth
Metrics
Error handling
- Added general error handling and middleware for gin.
4. Honorable mentions
Directories
¶
Click to show internal directories.
Click to hide internal directories.