Skip to content

trylvis/OsloBysykkel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OsloBysykkel - Bike and lock availability

Known Vulnerabilities

Description

Simple Node.JS app to poll Oslo Bysykkel APIs and present a table with bike and locks availability for each station

Prerequisites

Installing

Clone repo from GitHub

git clone https://github.com/trylvis/OsloBysykkel.git

Enter cloned repo directory

cd OsloBysykkel

Install necessary NPM packages

npm install

Add API key

An API key is required to poll the APIs You can either add the API key to a enviroment variable - identifierOsloBysykkel used in this app OR edit the 'identifier' variable in app.js with your API key:

// API Identifier
// In the following code a enviroment variable has been used to store the API identifier. You can also comment this line, and un-comment the next line and enter the key identifier directly.
// var identifier = process.env.identifierOsloBysykkel
var identifier = "enterkeyhere";

Running

Start app from the command line

node app.js

Should return

App started and listening on port *port*!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •