- public/geo.json: This file contains geographic data.
- src/components/:
- CovidData/: Components that process Covid data.
- ErrorPage/: Components that manage error conditions.
- MapChart.js: The map component creates a map using geographic data.
- Data comes from https://rapidapi.com/axisbits-axisbits-default/api/covid-19-statistics/.
- Maps view is provided via https://www.react-simple-maps.io/.
-
Clone the project to your local machine:
git clone https://github.com/username/react-covid-maps.git
-
Navigate to the project directory:
cd react-covid-maps
-
Install dependencies:
npm install
-
Start the project:
npm start
<<<<<<< HEAD With these commands, you can successfully clone the project to your local machine, install dependencies, and start the project.
- To access the application locally, open http://localhost:3000 in your web browser.
- If you are accessing the application from another device on the same network, use http://172.17.0.2:3000.
These URLs can be used to access the application running inside your Docker container. The first one provides access via localhost on your Docker host machine, while the second one can be used to access it via an IP address assigned within the Docker network.
The optimized production build of the application is served using the serve package.
- Local: http://localhost:3000
- Network: http://192.168.1.21:3000 ======= With these commands, you can successfully clone the project to your local machine, install dependencies, and start the project. Visit http://localhost:3000 in your browser to view the project.
origin/main