Giter Site home page Giter Site logo

pokemon-ecommerce's Introduction

Pokemon E-Commerce

fire-store

About The Project

I created a Frontend E-Commerce application using the PokéAPI. The following tasks were implemented successfully:

  • Product catalog
  • Side cart
  • Cart Summary
  • 3 stores with different styles and types of Pokémon (water, grass and fire)
  • Search bar to filter Pokemon
  • Checkout button, restarting the checkout process
  • Thank you modal when finalizing the purchase
  • Save user purchase data locally so you don't lose it when refreshing the page (local storage)
  • Tests using React Testing Library and Jest
  • Responsive design (starting from 320px and up)

Built With:

  • Javascript - An object-oriented computer programming language commonly used to create interactive effects within web browsers.
  • ReactJS - A JavaScript library for building user interfaces.
  • Styled Components - Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress.

Usage

The project is deployed and can be accessed at https://water-pokemon-shop.netlify.app/ , https://fire-pokemon-shop.netlify.app/ or https://grass-pokemon-shop.netlify.app/

Getting Started

Prerequisites

In order to run this project locally you will need to:

Installation

  1. Clone the repo
git clone https://github.com/pedrovsiqueira/pokemon-ecommerce
  1. Install YARN packages
yarn install
  1. Rename .env.example to .env

  2. Run the app.

yarn start
  1. Access the application through the following link afer doing the steps 1 - 4.
http://localhost:3000/
  1. If you want to change stores, run the following command
yarn start:fire or yarn start:water

Tests:

Tests were done using jest and react-testing-library. To see the tests run the following commands:

tests

  1. Test results
yarn test
  1. Test results using coverage
yarn test:coverage

Contact

Pedro Siqueira - email - linkedin - portfolio

pokemon-ecommerce's People

Contributors

pedrovsiqueira avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pokemon-ecommerce's Issues

Create cards to display pokemon data

  • Create initial card to display pokemon data with Name, Image, Price and details option
  • Two buttons (add to cart) and (details)
  • Create new function to fetch pokemon data
  • Format pokemon state with the data that will be used on the card.

Create search input

  • Create input with search icon.
  • Allow the user to type and handle calls based on what the user typed.

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.