Skip to content

mon2712/countries-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Countries Challenge

This project was bootstrapped with Create React App.

The application was built with the endpoint.

Solution

What I used for this challenge was:

  • Typescript for type checking
  • Apollo Graphql to connect to the endpoint.
  • Material UI to simplify to help me with the UI of the basic components.
  • React final form to handle the filters
  • Styled-components to help out with some styles extra from the usage of Material UI
  • React router to handle the routes

For the list of countries I used a virtualized table to handle all the data, with the help of react-virtualized and Material UI. What I was thinking to do was the pagination with graphql, but the amount of data was not worrying me so I just virtualized the table.

I configured ESLint to mantain the consistency of my code.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn eslint

Fixes eslint errors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published