🚀A learning project building while taking "Complete microservices with go" Udemy course
Course: Complete microservices with go
go test -v *.gominikube dashboardtilt upgo run tools/create_service.go -name testDirectory structure created:
services/test-service/
├── cmd/ # Application entry points
├── internal/ # Private application code
│ ├── domain/ # Business domain models and interfaces
│ │ └── test.go # Core domain interfaces
│ ├── service/ # Business logic implementation
│ │ └── service.go # Service implementations
│ └── infrastructure/ # External dependencies implementations (abstractions)
│ ├── events/ # Event handling (RabbitMQ)
│ ├── grpc/ # gRPC server handlers
│ └── repository/ # Data persistence
├── pkg/ # Public packages
│ └── types/ # Shared types and models
└── README.md # This file
###Kubernetes
kubectl get podskubectl get serviceskubectl get deploymentskubectl get all | catkubectl logs deployment/api-gateway | catkubectl describe deployment/api-gateway | catkubectl get nodes -o widekubectl describe pod {POD_NAME} | grep -A 5 "Conditions:"kubectl apply -f ./infra/development/k8s/driver-service-deployment.yamlkubectl delete -f ./infra/development/k8s/driver-service-deployment.yamlhttps://docs.stripe.com/stripe-clistripe listen --forward-to localhost:8081/webhook/stripe
