Giter Site home page Giter Site logo

frontend-project-country-app's Introduction

FRONT END PROJECT

React Redux toolkit TypeScript react-router-dom

The front end project is to practice React with TypeScript and Redux. Completing all requirement, you will get 20 points/ 20 points. Good luck and HAVE FUN !!!

How to run project

  1. Step 1: npm install
  2. Step 2: npm start

Logic Requirements (9 points)

  1. Fetch data from this API: https://restcountries.com/v3.1/all
  2. The user can search country by name
  3. Get country detail by this API: https://restcountries.com/v3.1/name/{name}
  4. When the user click to country name or a button it should show country detail
  5. The country detail should have name, region, population, flag and list of languages
  6. The user can add country to Favorite page
  7. When the user add a country to Favorite the favorite icon should change the color.
  8. Have a Loading page while fetching data
  9. Deploy the project

Styling Requirements (4 points)

  1. Font: font-family: 'Nunito', sans-serif
  2. Display data in table
  3. Navbar and Footer
  4. When the user add an country to Favorite page, you should show a message, for example: A country just added to the favorite page

Code style Requirements (6 points)

  1. Naming convention
  2. Clear file structure
  3. Divided the project to small components
  4. Clean code: no console.log, no dead code,
  5. Format code (Prettier - Code formatter)
  6. Separate import from your own file and the import from the package

Extra requirements (1 points)

ONLY DO THIS PART WHEN YOU HAVE COMPLETED THE REQUIREMENTS PART

  1. Sorting by product name
  2. Sorting the country by population
  3. Add an extra page
  4. Add pagination

Useful sources

  1. API information: https://restcountries.com/
  2. Alert: https://mui.com/material-ui/react-snackbar/#main-content
  3. Table: https://mui.com/material-ui/react-table/#basic-table
  4. Data grid: https://mui.com/x/react-data-grid/components/#main-content
  5. Font: https://fonts.google.com/specimen/Nunito
  6. Deploy: https://vercel.com/, https://www.netlify.com/
  7. Prettier - Code formatter - Extension in VSCode

Screenshots

Country list

Country detail

frontend-project-country-app's People

Contributors

laxmipriyapattanayak avatar v-limo 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.