Country Explorer is a web application that integrates with the REST Countries API to pull country data and display it in a user-friendly format. This project was built using React and provides features such as searching, filtering, and viewing detailed information about countries. Additionally, the application supports a dark mode toggle.
- Display all countries from the API on the homepage
- Search for a country using an
input
field - Filter countries by region
- Click on a country to see more detailed information on a separate page
- Click through to the border countries on the detail page
- Toggle the color scheme between light and dark mode
-
Clone the repository:
git clone https://github.com/yourusername/country-explorer.git cd country-explorer
-
Install dependencies:
npm install
-
Start the development server:
npm start
The application should now be running on http://localhost:3000
.
- React: JavaScript library for building user interfaces.
- React Router: Declarative routing for React applications.
- FontAwesome: Icon library for adding icons.
This project uses the REST Countries API to fetch country data.