GithubHelp home page GithubHelp logo

challenge-countries's Introduction

challenge-countries

This challenge is to create an app that gets a list of countries from an API and has the ability to search and filter them.

Setup & Running

  • Clone this repo
  • Run npm i to install dependencies
  • Run npm run dev to start dev server
  • cd into app/main.jsx and start creating the app from there

Instructions

  • User should be able to view all countries in a table.
  • User should be able to see these information about each country: name, capital, region, population, languages and timezones
  • User should be able to search countries by: name, capital and languages
  • User should choose by which from the above columns he/she wants to search.
  • User should be able to select a region and list all countries from that region.
  • User should be able to filter countries that has a population between 2 inputs.
  • User should be able to use all 3 search/filter functionalities together, e.g. if the user selects Asia as a region, chooses to search by name, searches for sa and adds a population boundary of 15000 and 5000000 the result should be all countries from Asia that there names has sa and has a population between 15000 and 5000000
  • User should be able to clear all searches/filters by one click.

Rules

  • use this open source API to get the list of countries https://restcountries.eu/
  • use material-ui components.
  • don't use any external libraries that are not already in the repo.
  • make sure that the components you create are reusable, e.g. if we add another view to list and search for animals we could use the same components.
  • Follow these coding style guidelines
  • Be creative

challenge-countries's People

Contributors

abdhalees avatar davidguttman avatar

Watchers

James Cloos avatar Zaur Zahid  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.