A interactive world map built with ReactJS, Tailwind CSS and REST Countries API, featuring country details, zoom, and light/dark modes.
Check out the live version of the website: Interactive World Map
Below are some screenshots showcasing the application's features and appearance:
- Interactive SVG world map: click any country to view details
- Sidebar with country information (flag, population, capital, etc.)
- Zoom in/out controls for the map
- Light and dark mode toggle
- Responsive design for mobile and desktop
- URL routing:
/countryname
opens sidebar for that country
To run the project locally, follow these steps:
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/JoyM268/interactive-map-reactjs.git
-
Navigate to the project directory:
cd interactive-map-reactjs
-
Install dependencies:
npm install
To start the development server:
npm start
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please submit a pull request or open an issue for any improvements or bug fixes.
- Simple Maps for the SVG world map.
- REST Countries API for providing country data.
For any questions or suggestions, please reach out to [email protected].