https://github.com/yyq1025/balance-backend
A practice of Clean Architecture with Geth
https://github.com/yyq1025/balance-backend
clean-architecture go golang
Last synced: 6 months ago
JSON representation
A practice of Clean Architecture with Geth
- Host: GitHub
- URL: https://github.com/yyq1025/balance-backend
- Owner: yyq1025
- License: mit
- Created: 2022-06-28T23:13:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T21:53:32.000Z (about 1 year ago)
- Last Synced: 2025-04-15T16:29:32.891Z (6 months ago)
- Topics: clean-architecture, go, golang
- Language: Go
- Homepage: https://github.com/yyq1025/balance
- Size: 423 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Balance Backend
[](https://github.com/yyq1025/balance-backend/blob/main/LICENSE)
[](https://github.com/yyq1025/balance-backend)
[](https://pkg.go.dev/github.com/yyq1025/balance-backend)
[](https://goreportcard.com/report/github.com/yyq1025/balance-backend)
[](https://github.com/yyq1025/balance-backend/actions/workflows/ci.yml)
[](https://codecov.io/gh/yyq1025/balance-backend)
[](https://github.com/yyq1025/balance-backend/issues/12)## Environment Variables
| Name | Required | Default | Description |
| ---- | -------- | ------- | ----------- |
| `AUTH0_DOMAIN` | Yes || Auth0 domain, learn more [here](https://auth0.com/docs/quickstart/backend/golang) |
| `AUTH0_AUDIENCE` | Yes || Auth0 audience, learn more [here](https://auth0.com/docs/quickstart/backend/golang) |
| `PORT` | No | `8080` | Http port to serve |
| `TIMEOUT` | No | `3.5s` | Response timeout |
| `DB_HOST` | No | `localhost` | PostgreSQL host |
| `DB_PORT` | No | `5432` | PostgreSQL port |
| `DB_USER` | No | `postgres` | PostgreSQL username |
| `DB_PASSWORD` | No | `postgres` | PostgreSQL password |
| `DB_NAME` | No | `postgres` | PostgreSQL database name |
| `REDIS_HOST` | No | `localhost` | Redis host |
| `REDIS_PORT` | No | `6379` | Redis port |
| `REDIS_USER` | No | `""` | Redis username |
| `REDIS_PASSWORD` | No | `""` | Redis password |