This app accompanies the article posted here: https://dev.to/laney/react-mapbox-beginner-tutorial-2e35
- Install dependencies:
yarn install
- Copy the contents of
.env.local.example
into an.env.local
file (cp .env.local.example .env.local
and replaceYOUR_TOKEN_HERE
with your token. - Run
yarn start
to start the dev server. - Open http://localhost:3000 to view it in the browser.