GithubHelp home page GithubHelp logo

porfidev / codifin-test-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 290 KB

React.js project for Codifin

Home Page: https://porfidev.github.io/codifin-test-project/

JavaScript 1.56% HTML 1.14% TypeScript 97.30%
react-router reactjs test typescript

codifin-test-project's Introduction

Codifin Test

This test was coded by porfi.dev

Requirements

  • Node v18+

Installation

  1. Open root folder
  2. Install dependencies with npm install
  3. Run project with npm run dev

Online version

Visit https://porfidev.github.io/codifin-test-project to use

Usage

How to Add New Product

  1. Press "Agregar Producto" Button
  2. Fill form required data
  3. Press "Crear Producto" Button to finish

How to Add Product to Cart

  1. On product list press "Agregar al carrito" button or
  2. Press picture of product to enter to Product Detail view then press "Agregar al carrito" button
  3. Counter on Cart button must increment

How to Remove Product from Cart

  1. Press Cart button (upper right button)
  2. On displayed list press trash button to remove product from your cart

How to Search and Sort Products

  1. For search, type on input and press "buscar" button
  2. To clean filtered search press "limpiar" button
  3. To toggle form Ascending, Descending and No Ordering press "Ordenar" button

⚠️⚠️ Ordering applies on filtered search result. ⚠️⚠️

TODO List

  • Prevent product price starts with Zero
  • Persist Cart on Local Storage
  • Show default image on products without photo
  • Add Custom error component instead Alert
  • Add Responsive CSS
  • Remove duplicated components

codifin-test-project's People

Contributors

porfidev 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.