This project is an e-commerce store built using React and Vite. It provides users with an intuitive interface to browse products, view details, and mark favorites. The application is designed with clean architecture, leveraging React's Context API for state management and Tailwind CSS for styling.
- Product Listing: View a list of products fetched from an API.
- Product Details: View detailed information about a product.
- Favorites: Mark/unmark products as favorites and view them in a dedicated favorites section.
- Responsive Design: The application is responsive and works well on different screen sizes.
- React: Component-based JavaScript library for the UI.
- Vite: Build tool that provides a fast development environment.
- React Router: Seamless navigation between pages.
- Context API: Efficient global state management.
- Tailwind CSS: Utility-first CSS framework for responsive styling.
- Lucide React: Modern and customizable icons for UI elements.
- Node.js (version 14 or higher)
- npm (version 6 or higher)
- Clone the repository:
git clone https://github.com/jefferyklass8/ecommerce.git cd ecommerce - Install dependencies:
npm install
To start the development server, run:
npm run devThis will start the application on http://localhost:5173.
To build the application for production, run:
npm run buildThe production-ready files will be in the dist directory.
This project is licensed under the MIT License. See the LICENSE file for details.