Although I prefer yarn, you can use either yarn or npm:
npm install
or simplyyarn
npm start
oryarn start
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.
The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.
npm run build
oryarn build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
maptrack
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src
├── components
│ ├── GoogleMap.js
│ ├── MapTracker.js
│ └── Marker.js
├── const
│ ├── center_map.js
├── App.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── logo.svg
└── registerServiceWorker.js
└── env.sample
- add api key in .env local