This is a simple application which shows a list of all bysykkel locations, and how many bikes/docks are available.
If you allow geolocation access, it will also show the distance to the locations, ordered by closest first. If you do not allow geolocation access, the list will be sorted alphabetically by location name.
A live version can bee seen on github pages: https://haakemon.github.io/oslo-bysykkel-locations/
- Execute
yarn
to install dependencies - Execute
yarn start
to start the devserver. The port where the page can be reached should be displayed in the terminal.
Tests for larger interactive components are better suited to test with integration tests, using tools like Cypress. These types of tests are not added yet.
To run the unit tests with coverage information, execute yarn test-coverage
.