- React
- Redux
- Mapbox GL JS
- Assembly.css
- Mapbox Geocoding API
- Mapbox Directions API
- Wikidata SDK
- Mapillary API
This project was bootstrapped with create-react-app
.
Redux to manage the state, with a middleware component (the api-caller
) responsible for all the asynchronous calls.
Assembly.css for styling, which shrinks the main CSS code below 60 lines.
The search bar is a fork from react-geocoder
, with minor tweaks to be better integrated in the app. When available, additional POI information is retrieved from Wikidata (images, phone numbers, websites, etc.).
The directions are powered by the Directions Traffic API. It leverages anonymous data from millions of users to provide the freshest live traffic information, in order to route you around traffic and give you the best ETAs.
The sprites and glyphs are hosted on the Mapbox infrastructure.
Rename the .env.sample
file to .env
and add your Mapbox token and Mapillary Client ID
Then:
yarn
yarn build
yarn start