Stockholm - Uppsala Traffic Info
Live site
Displays traffic info for trains between Stockholm and Uppsala.
Features
- Easy to access refresh button
- Easy to access "Change direction" button
- Toggle to show only departures where Movingo can be used
- Two layout modes: "normal" and "dense" (less padding)
- Possible to select custom date and time for when to show departures
- Link train directly to https://trafikinfo.sj.se/sv
- Dialog for extra info
Screenshot
Running
- Create an API-key at: https://api.trafikinfo.trafikverket.se/
- Create an
.env
file in root folder with key: VITE_AUTH_KEY
and set the value to your API-key.
npm i
npm run dev
Building
npm run build