Skip to content

website to find status of nearest bike-share stations

Notifications You must be signed in to change notification settings

ky1044/Bikeable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

website to find the current and past status of the nearest Citibike stations.

Project Status

This project is currently in development. Users can see the real time status and of the nearest Citibike stations as well as logs for the past week. Functionality to predict future status is in progress

Live Demo [BROKEN]

Live demo is currently broken due to problemsn with Beanstalk's SQL DB. Working on getting it back.

Link: https://ky1044.github.io/Bikeable/

React frontend is hosted on Github Pages, Flask API and backend is hosted on AWS (Elastic Beanstalk).

Issues

  • Critical issue with APScheduler on Elastic Beanstalk, which is used to schedule bike count updates and logging statuses. Live demo is currently broken, and cron is being considered as an alternative.

Project Screen Shot

Desktop

Mobile

Installation and Setup Instructions

  • You will need npm and python 3 installed globally on your machine.
  • Clone this repo to your local machine using https://github.com/y1044/Bikeable

Running React

  • Go to '/front-end' folder on command line
  • start with npm start
  • terminate by holding ctrl + c

Running the API

  • Go to '/api' folder on command line
  • activate virtual environment with source venv/bin/activate
  • start with python3 application.py
  • terminate by holding ctrl + c

Using the Website

  • on your browser, visit localhost:3000

Tools Used

The front end is built using HTML/CSS and Javascript, using the React framework. Libraries used for this project include Recharts, React Leaflet, and React Autosuggest.

The back end API is built with Flask, and currently gives users real time and past week info for nearby station statuses, which it stores in a local SQLite database using SQLAlchemy.

Citibike status is collected using their GBFS API, and weather data is collected using the Darksky API

About

website to find status of nearest bike-share stations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published