Skip to content

MinhPhu0304/Future-Auckland-roadworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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