cng-hello-backend

module
v0.0.0-...-5589121 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: MIT

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL