Giter Site home page Giter Site logo

country-info's Introduction

CountryInfo

CountryInfo preview CountryInfo preview

This website displays country information using the REST Countries API and provides the ability to show the country's location on Google Maps. It features a search bar where you can enter a country name to display its flag and name. Clicking on a country will take you to a details page that renders a component with country information. On the details page, you can see the country's flag, name, capital, continent, and population. Additionally, there is a button to show the country on Google Maps.

Dependencies

React.js: A JavaScript library used for developing web applications.

Axios: A library used for making HTTP requests.

React Icons: A library used for icons.

React Bootstrap: A UI component library used for creating web applications based on React.

React Router DOM: A library used for page routing.

Features

  • The website initially provides users with a country list and a search field
  • Users can find their desired country by entering the country name into the search field.
  • Clicking on a country name redirects users to the details page, which displays information about the country's flag, name, capital, and continent.
  • A button on the detail page shows the country on Google Maps.
  • Developed using React.js, and country data is fetched from the "https://restcountries.com/v3.1/all."

Installation

Clone the project files to your computer:

  git clone https://github.com/tarikbulbul/Country-Info.git
  cd Country-Info

Install the required dependencies:

  npm install

Start the application:

  npm run dev

You can view the application by opening http://localhost:3000 in your browser.

country-info's People

Contributors

tarikbulbul avatar

Watchers

 avatar

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.