This project was bootstrapped with Create React App.
Before running the application, make sure you have installed the required dependencies. If not, please run the following command in the root directory:
npm installAfter installing the dependencies, you need to set your Google API key in order to use the application. Here are the steps:
-
Go to Google Maps Platform and create an account if you don't already have one.
-
Navigate to the APIs & Services section and then go to credentials.
-
Copy your Google Maps API key.
-
Create a file named
.envin the root directory of the project. -
In the
.envfile, add the following line and replaceYOUR_API_KEYwith your actual API key:REACT_APP_API_KEY=YOUR_API_KEYYou can refer to the provided
.env.samplefile for the format.
In the project directory, you can run the following scripts:
Runs the app in development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner.