Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coma64/bahn-alarm
An app that notifies you about delays of the Deutsche Bahn. Built with Golangs Echo server and Angular
https://github.com/coma64/bahn-alarm
angular echo golang kubernetes
Last synced: 14 days ago
JSON representation
An app that notifies you about delays of the Deutsche Bahn. Built with Golangs Echo server and Angular
- Host: GitHub
- URL: https://github.com/coma64/bahn-alarm
- Owner: coma64
- Created: 2023-06-24T19:03:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-03T12:55:30.000Z (over 1 year ago)
- Last Synced: 2024-11-07T11:38:09.508Z (2 months ago)
- Topics: angular, echo, golang, kubernetes
- Language: TypeScript
- Homepage: https://bahn-alarm.com
- Size: 1.41 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Bahn alarm is a pet project of mine that sends real-time notifications about train delays from the Deutsche Bahn.
It does this by regularly polling the API of the new "Next DB Navigator" app.**I am by no means affiliated with the DB. This project was built for educational purposes only.**
Screenshots
Desktop
Mobile
## Tech stack
- Angular frontend
- PNPM as a package manager
- HSL color scheme based on [web.dev - Color schemes with HSL](https://web.dev/patterns/theming/)
- Web push API notifications
- Go backend
- Cobra for handling the different management commands
- Echo as a server
- sqlx and squirrel for interacting with postgres
- goose for migrations
- Postgres
- Kubernetes with traefik
- Prometheus for metrics## Developing locally
### Frontend
```bash
# Install pnpm if you don't have it yet
npm i -g pnpmcd frontend
pnpm installpnpm start
```### Backend
```bash
docker compose up -dcd backend
CONFIGOR_ENV=dev go run . serve
```