micaelcf / pokecards

A web application to visualize and play with pokemon cards. We all need to see some pokemons !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PokeCards


A simple web app (SPA) that paginate and show all pokémons from PokéAPI (https://pokeapi.co/) in card format. The app is completely responsible and can used in mobile devices. This frond-end application was made to pratique react programming's, web API consuming with axios.

General Information


  • The project use modern technologies such React.Js and Tailwind CSS and axios. React.Js is a front-end web framework for modularization of html elements with jsx (HTML in javascript), state managing and others features that are useful for front-end development. Tailwind CSS works with fast development and styling of html elements and react componentes. Axios was used to api consuming and asynchrony programing.
  • The most difficulty problem encountered is the asynchrony programing (JavaScript promises) with pagination of the cards. This was solved using a isolate pagination component, using a external library (react-paginating), with state managing such way the app make just the needed requests to show Pokémon's information.
  • The main propose is to train and pratique asynchrony programing, paginating data, react state management and make beautiful responsible user interfaces.

Technologies Used


  • HTML
  • CSS
  • JavaScript
  • React
  • Tailwind CSS
  • react-paginating
  • axios
  • SCSS

Features


  • Search Pokémons
  • Pagination with items per page mutable
  • Mobile and responsive desing
    • Smooth loading animation
      • Available Scripts

        In the project directory, you can run:

        npm start

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

        The page will reload when you make changes.
        You may also see any lint errors in the console.

        npm run build

        Builds the app for production to the build folder.
        It correctly bundles React in production mode and optimizes the build for the best performance.

        The build is minified and the filenames include the hashes.
        Your app is ready to be deployed!

        See the section about deployment for more information.

        Project Status


        Completed

        Contact


      About

      A web application to visualize and play with pokemon cards. We all need to see some pokemons !


      Languages

      Language:JavaScript 87.5%Language:SCSS 6.9%Language:HTML 4.2%Language:CSS 1.3%