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: 9 months 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T12:55:30.000Z (over 2 years ago)
- Last Synced: 2025-05-19T01:37:59.616Z (11 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 pnpm
cd frontend
pnpm install
pnpm start
```
### Backend
```bash
docker compose up -d
cd backend
CONFIGOR_ENV=dev go run . serve
```