kjartanm / bikestations

Home Page:https://bikestations.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bikestations

An experiment in using https://oslobysykkel.no/apne-data/sanntid

Demo:

https://bikestations.kjartanm.now.sh/

Get started

Install the dependencies...

npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Building and running in production mode

To create an optimised version of the app:

npm run build

You can run the newly built app with npm run start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.

About

https://bikestations.now.sh


Languages

Language:Svelte 45.2%Language:JavaScript 41.9%Language:CSS 8.1%Language:HTML 4.9%