Skip to content

An app that notifies you about delays of the Deutsche Bahn. Built with Golangs Echo server and Angular

Notifications You must be signed in to change notification settings

coma64/bahn-alarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bahn Alarm Logo

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

Demo Screenshot

Mobile

Mobile Demo Screenshot

Tech stack

  • Angular frontend
  • 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

# Install pnpm if you don't have it yet
npm i -g pnpm

cd frontend
pnpm install

pnpm start

Backend

docker compose up -d

cd backend
CONFIGOR_ENV=dev go run . serve

About

An app that notifies you about delays of the Deutsche Bahn. Built with Golangs Echo server and Angular

Topics

Resources

Stars

Watchers

Forks