Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ellipog/forsinka
Forsinka is a web application that displays all delayed arrivals to Ski Stasjon.
https://github.com/ellipog/forsinka
api css html js reactjs ruter-api transportation
Last synced: about 1 month ago
JSON representation
Forsinka is a web application that displays all delayed arrivals to Ski Stasjon.
- Host: GitHub
- URL: https://github.com/ellipog/forsinka
- Owner: Ellipog
- License: mit
- Created: 2023-01-25T08:26:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T13:58:43.000Z (almost 2 years ago)
- Last Synced: 2024-01-29T11:24:54.791Z (11 months ago)
- Topics: api, css, html, js, reactjs, ruter-api, transportation
- Language: JavaScript
- Homepage: https://forsinka.chillcraft.co
- Size: 5.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Forsinka
### What does it do?
Forsinka is a web application that displays all delayed arrivals to Ski Stasjon.
The app was mainly made as a learning opportunity, and to explore ReactJS, GraphQL, and the EnTur API.### How does it work?
It uses the EnTur API to pull aimedArrivals, expectedArrivals, ID's, vehicle names and more.
After all the data needed is pulled from the API it matches the aimedArrivals and expectedArrivals to see what arrivals were late.
These late arrivals are then sent to a Mongoose database which stores all the data for later use.
The data is then sent to the client where it is displayed on the page.
Before it gets displayed it uses math to figure out how delayed the vehicle's arrival was, and parses the time of arrival into a more readable format.