Guestlist service
- SOLID Principle
- Dependency Injection
- Domain Driven Design
- Command Query Responsibility Segregation
- Unit test using mockery: /internal/guest/infrastructure/repository/mocks, /internal/guest/domain/service/guest/mocks
- Integration test: internal/guest/domain/service/guest/guest_test.go, /internal/guest/infrastructure/repository/database/guest_test.go
- MySQL
- Go 1.16
go run cmd/guestlist/main.go
Listen to port 8001 by default
Change configuration can be set by set up environment variables or update config/config.go file.
- Run command docker build --label "version={version}" -t {name}:{version} .
- Example: docker build --label "version=v1.0.0" -t guestlist:v1.0.0 .