Safe Bluebike Finder is a web app that helps you find safe Bluebike stations around Boston. Every Bluebike station around Boston has a safety score calculated based on publicly available data on bike accidents and bike fatalities. After inputting your location, Safe Bluebike Finder shows you all Bluebike stations within a 0.5-mile radius with their corresponding safety scores. By clicking on a station, you can see bike accident and bike fatality data for the area around the station.
- View a Google Maps route to your selected station
- Detect your current device location
- Show or hide bike lanes on the map
- Switch between light and dark mode
- Clone the Safe Bluebike Finder repository.
- Install all dependencies:
npm install
- In the project root, create a
.env.localfile. - Add your Google Maps API key to the file in the following format:
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=YOUR_API_KEY
Replace
YOUR_API_KEYwith your actual Google Maps API key.
- Now, you can run the development server:
npm run dev
- Open http://localhost:3000 with your browser to see Safe Bluebike Finder.
Our web app uses the following data:
- Bluebikes Station Data: Includes all Bluebike station locations across Boston.
- Boston Bike Accident Records: Contains reports of bicycle-related accidents in Boston.
- Boston Bike Fatality Records: Contains reports of bicycle-related fatalities in Boston.