This is an E-Commerce website built using React & Vite. The project features user authentication and authorization, search functionality, product details pages, shopping cart and checkout functionality, and a wishlist feature.
- User authentication and authorization
- Search functionality
- Product details page with images, descriptions, and reviews
- Shopping cart and checkout functionality with stripe integration
- Wishlist feature
- Responsive design with mobile-friendly layout
- Front-end built using React, Vite, and Tailwind CSS
- State management using React Context and Reducers
- Form handling and validation using Formik and Yup
The project is organized in a modular structure, with separate folders for:
src
: contains the application codeassets
: contains static assets such as images and iconscomponents
: contains reusable UI componentscontext
: contains React context for state managementpages
: contains routes for the applicationstyles
: contains CSS styles for the application
@tanstack/react-query
for data fetching and caching@fortawesome/fontawesome-free
for iconsreact-router-dom
for client-side routingreact-slick
for carousel functionalityyup
for form validationaxios
for making HTTP requestsflowbite
for UI componentsformik
for form handling
To run the project locally:
- Clone the repository using
git clone
- Install dependencies using
npm install
- Start the development server using
npm run dev
oryarn dev
- Open the application in your browser at
http://localhost:5173/