This test was coded by porfi.dev
- Node v18+
- Open root folder
- Install dependencies with
npm install
- Run project with
npm run dev
Visit https://porfidev.github.io/codifin-test-project to use
- Press "Agregar Producto" Button
- Fill form required data
- Press "Crear Producto" Button to finish
- On product list press "Agregar al carrito" button or
- Press picture of product to enter to Product Detail view then press "Agregar al carrito" button
- Counter on Cart button must increment
- Press Cart button (upper right button)
- On displayed list press trash button to remove product from your cart
- For search, type on input and press "buscar" button
- To clean filtered search press "limpiar" button
- To toggle form Ascending, Descending and No Ordering press "Ordenar" button
⚠️ ⚠️ Ordering applies on filtered search result.⚠️ ⚠️
- 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