Skip to content

Check if the metro in Helsinki area is broken at the moment

License

Notifications You must be signed in to change notification settings

olpeh/onkometrorikki

Repository files navigation

Onko metro rikki?

Sponsored PRs Welcome license Build Status All Contributors

Check if the metro in Helsinki area is broken at the moment

What is this?

A really stupid prototype app that shows whether the metro in Helsinki is broken currently.

The information is based on the HSL Disruption info API.

Follow @onkometrorikki for notifications when there are disruptions in the metro.

Try it

Head to onkometrorikki.fi

Development

Install dependencies: yarn

Start the backend and frontend for local development: npm run dev

This command will start both the backend and the frontend locally.

The backend will run in port 4000 by default and the frontend in port 3000. The backend url is defined by the env variable ELM_APP_API_URL as can be seen in the package.json file.

Start only the frontend, using "production" backend: npm run frontend.

Start only the backend: npm start or npm run backend.

Deployments

Deployments are triggered automatically for every commit in master branch.

For manual deployments:

  • Backend is deployed in Heroku: git push heroku master
  • Deploy frontend to now: npm run release

Contributors

If you'd like to contribute, see CONTRIBUTING.md.

Thanks goes to these wonderful people (emoji key):


Olavi Haapala

💻 📖 🐛 👀 📢

Fotis Papadogeorgopoulos

💻 🎨 👀 🚇

paulogdm

🚇

Ossi Hanhinen

💻 ⚠️

Credits, Thanks, Inspiration

Supporters

This project is sponsored by Futurice's Open Source Sponsorship program

Supported by the Spice Program