Get information about countries using the REST Countries API. Built using React, Axios, and styled-components. Includes color theme switcher.
- See 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 by typing the following code in your terminal.
git clone https://github.com/jeffubayi/Taifa.git
Change into the directory
cd taifa
Install all dependencies
Once these dependencies have been installed you can run the app in development mode using:
This will start a local server on port 3000. Open http://localhost:3000 to view it in the browser.
If you want to build for production, run:
This builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
The app is ready to be deployed on Netlify.