Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.68 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.68 KB

Corebiz Frontend Challenge V2

Corebiz Frontend Challenge V2 is a improved version from Corebiz Frontend Challenge with better code structure, mocked API responses, recent technologies as React, TypeScript and TailwindCSS.

Wallpaper

Technologies

  • React
  • TypeScript
  • TailwindCSS
  • Vite
  • Eslint + Prettier
  • Axios

Features

  • Add products on minicart by clicking on Comprar button;
  • Open minicart by clicking on Cart icon button;
  • Remove products by clicking on Trash icon button;
  • Responsive layout;
  • Minicart have persistent data after reloading page;
  • Form validations in newsletter submission;
  • Search products by typing anything on search bar.

⚠️ IMPORTANT: Note that was necessary to "mock" API responses because the server is currently unavailable (CORS error, probably an issue with Heroku hosting). In this case, the API integration with Axios and service layers was implemented but commented to be viewed.

Prerequisites

  • yarn
  • Node.js

Installation

Clone the repository by following this instructions: Cloning a repository.

Install dependencies by running:

yarn install

Start

To run development server:

yarn dev

Navigate into your browser and type http://localhost:3000 to view code in action 😎

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT