Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.04 KB

Scheduled road works in Auckland

SPOILER alert: This project was bootstrapped with Create React App.

The project is using Auckland Transport API to get all data about scheduled roadworks in Auckland then displaying it on the map.

Gif of the product

To run the website locally, you will need:

Auckland Transport API key

  • Search AT developer or go to the link here
  • Sign in
  • Click on your profile
  • You can generate the api key there

Setting environment variable

  • IN the root project folder create a file named .env
  • Put your key value like the example bellow
REACT_APP_AT_TRANSPORT_KEY=KEY_HERE

Extra dependencies

  • Ramda - Some functional programming to spice things up
  • Leaflet - an open-source JavaScript library for mobile-friendly interactive maps
  • React-Leaflet - React components for 🍃 Leaflet maps
  • Redux