Skip to content

🌎 REST Countries: An application that communicates with an API to offer comprehensive insights into diverse nations. Featuring a color theme switcher, as well as filtering and search capabilities, it simplifies exploration and facilitates the discovery of valuable information.

License

Notifications You must be signed in to change notification settings

MaorBezalel/rest-countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rest Countries Preview

REST Countries API with color theme switcher

Solution for a challenge from frontendmentor.io.

🧐 Introduction

Welcome to my solution for the REST Countries API with a color theme switcher challenge from Frontend Mentor. This project was built to integrate the REST Countries API to pull country data and display it in a user-friendly way. Users can toggle between light and dark modes, filter countries by region, and search for specific countries. Additionally, users can click on a country to view more detailed information and explore neighboring countries by clicking on their borders.

⛏️ Built Using

Property Badges
πŸ“‹ Languages & Tools Sass TypeScript
πŸ“š Libraries Axios React React Router
πŸš€ Frameworks NPM Vite
πŸ§ͺ Testing React Testing Library Vitest
☁️ Hosting GitHub Pages

🎈 Features

  • View 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 view more detailed information on a separate page
  • Click on a country's border to view more detailed information on a separate page
  • Toggle the color scheme between light and dark mode (including the country detail pages)
  • Responsive design

πŸŽ‰ How to Use

Prerequisites

  • Node.js - JavaScript runtime environment
  • npm - Node.js package manager

Installation

  1. Clone the repo
    git clone https://github.com/MaorBezalel/rest-countries.git
  2. Install NPM packages
    npm install
  3. Run the app
    npm run dev
  4. Open http://localhost:(port) to view it in the browser.

πŸ™ Acknowledgements

πŸ“ License

This solution is based on a challenge and designs provided by Frontend Mentor and is therefore subject to the terms and conditions of the Frontend Mentor License.

About

🌎 REST Countries: An application that communicates with an API to offer comprehensive insights into diverse nations. Featuring a color theme switcher, as well as filtering and search capabilities, it simplifies exploration and facilitates the discovery of valuable information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages