Giter Site home page Giter Site logo

alkaison / country-dex Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 8.4 MB

Country Dex allows you to explore information about all countries on Earth, providing a rich and interactive experience.

Home Page: https://alkaison.github.io/Country-Dex/

License: MIT License

HTML 2.85% CSS 30.70% JavaScript 66.45%
react-website react-api-project react-app rest-countries-api country-dex-app react reactjs

country-dex's Introduction

Country Dex - Explore Countries of the Earth ๐ŸŒ

Welcome to the Country Dex web app project! This application allows you to explore information about all countries on Earth, providing a rich and interactive experience. Whether you're looking for general country information, detailed statistics, or just want to admire the flags of different nations, Country Dex has got you covered. Try now: click here

Country Dex Screenshot

Table of Contents

Features

Country Information

  • Access detailed information about all countries, including their flags, names, and stats overviews.
  • Search for a specific country by its name using the search input field.
  • Filter countries by regions using the region filter.
  • Combine region filtering and search to refine your results.

Detailed Country View

  • Click on a country to view more comprehensive details about it, including its population, region, capital, languages, currencies, and neighboring countries.
  • Explore bordering countries by clicking on their names.

Responsive Design

  • Enjoy an optimal user interface layout on various screen sizes, making it accessible on both desktop and mobile devices.

Interactive Elements

  • Experience hover and focus states for all interactive elements on the page for a more engaging user experience.

Dark/Light Theme Toggle

  • Customize your browsing experience by toggling between dark and light themes.
  • Your preference is stored in local storage for a seamless experience on your next visit.

Technologies/Library Used

  • React.js
  • Vanilla CSS
  • React Icons
  • React Router DOM
  • React Loader Spinner
  • GH-Pages
  • Animate on Scroll
  • REST Countries API (v3.1)

Getting Started

To get started with the Country Dex project on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Alkaison/Country-Dex.git
  2. Change directory to the project folder:

    cd country-dex
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Open your web browser and access the app at http://localhost:3000/Country-Dex.

Usage

  • Visit the home page to see a list of all countries along with their flags and basic information.
  • Use the search input field to find a specific country by name.
  • Filter countries by region using the region filter dropdown.
  • Click on a country card to view more detailed information on a separate page.
  • On the detailed country page, click on bordering countries names to explore more.

Theme Toggle

  • Toggle between dark and light themes using the theme switcher located in the header.
  • Your theme preference will be saved in local storage for your next visit.

Screenshots

Home Page

Dark Theme

Country Details

Detailed Country View

Contributing

Contributions to this project are welcome! Feel free to open issues or submit pull requests to improve the application.

License

This project is licensed under the MIT License.

Thank you for exploring the world with us! ๐ŸŒŽ๐ŸŒ๐ŸŒ

country-dex's People

Contributors

alkaison avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

adrien-legeleu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.