/CRA-mapbox

Primary LanguageJavaScript

Project Setup Instructions

Follow these steps to set up the project:

Step 1: Create Environment File

From the root of your project directory, create an .env file:

touch .env

Step 2: Obtain Mapbox API Key

Sign up for a Mapbox account and obtain an API key. Add the API key to the .env file in the following format:

REACT_APP_MAPBOX_ACCESS_TOKEN=your_mapbox_api_key

Step 3: Install Dependencies and Start the Application

npm i
npm start

the application should launch at http://localhost:3000