- Create a
.env
file in the root of the project and add the following to it:
REACT_APP_MAPBOX_TOKEN={YOUR_MAPBOX_TOKEN}
- Run
yarn
from the terminal - Run
yarn start
and a browser will open to http://localhost:3000 when the server is started
.env
file in the root of the project and add the following to it:REACT_APP_MAPBOX_TOKEN={YOUR_MAPBOX_TOKEN}
yarn
from the terminalyarn start
and a browser will open to http://localhost:3000 when the server is started