https://github.com/presubmit/ebank-backend
https://github.com/presubmit/ebank-backend
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/presubmit/ebank-backend
- Owner: presubmit
- Created: 2024-10-10T06:51:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-22T11:22:38.000Z (11 months ago)
- Last Synced: 2025-03-24T01:22:57.529Z (7 months ago)
- Language: Go
- Size: 2.51 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eBank backend 🚀
Go backend that powers eBank.
## Dependencies
- [go](https://golang.org/doc/install) - primary language
- [docker](https://www.docker.com/) - used to run containerized services## How to run?
- `yarn db`
- Runs a PostgresDB (see config in .env)
- Runs `yarn db:migrate up` to apply outstanding migrations
- `yarn watch`- Runs all services on ports :80 (http) and :8079 (grpc)
- Runs a Traefik proxy that redirects requests to the appropiate service
- Runs `yarn proto` on every proto change- `yarn proto` - Generate protocol buffers
- `yarn db:migrate up [N]` - Apply all or N up migrations
- `yarn db:migrate down [N]` - Apply all or N down migrations
- `yarn db:migration NAME` - Create a set of timestamped up/down migrations titled NAME in db/migrations.