https://github.com/z0mbix/go-microservices-monorepo
An example Monorepo for Go Microservices
https://github.com/z0mbix/go-microservices-monorepo
Last synced: about 1 year ago
JSON representation
An example Monorepo for Go Microservices
- Host: GitHub
- URL: https://github.com/z0mbix/go-microservices-monorepo
- Owner: z0mbix
- Created: 2025-04-21T21:58:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-21T22:16:55.000Z (about 1 year ago)
- Last Synced: 2025-04-21T23:26:04.141Z (about 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monorepo Services
This is a sample monorepo with multiple Go microservices for testing purposes.
## Services
- **billing**: Handles billing processing
- **order**: Manages customer orders
- **shipping**: Manages shipment tracking
- **user**: Handles user authentication and profile management
## Running Services
Each service can be configured using environment variables:
```bash
# Run the order service on it's default port with default log level (info)
go run services/order/main.go
# Run the billing service with custom configuration
APP_PORT=3000 APP_LOG_LEVEL=debug go run services/billing/main.go
```
## Environment Variables
All services support the following environment variables:
| Variable | Description | Default |
|-----------------|----------------------------------------------|----------|
| APP_PORT | HTTP server port | none |
| APP_LOG_LEVEL | Logging level (debug, info, warn, error) | info |
| APP_ENV | Environment (development, production etc.) | local |