Skip to content

kuan-m/microservices_with_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete_microservices_with_go

🚀A learning project building while taking "Complete microservices with go" Udemy course

Course: Complete microservices with go

go test -v *.go
minikube dashboard
tilt up
go run tools/create_service.go -name test
Directory 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 pods
kubectl get services
kubectl get deployments
kubectl get all | cat
kubectl logs deployment/api-gateway | cat
kubectl describe deployment/api-gateway | cat
kubectl get nodes -o wide
kubectl describe pod {POD_NAME} | grep -A 5 "Conditions:"
kubectl apply -f ./infra/development/k8s/driver-service-deployment.yaml
kubectl delete -f ./infra/development/k8s/driver-service-deployment.yaml
https://docs.stripe.com/stripe-cli
stripe listen --forward-to localhost:8081/webhook/stripe

alt text

alt text

About

msa, grpc, clean architecture, eda, k8s, tilt, rabbitmq

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published