This project is a simple e-commerce website built with React, Tailwind CSS, Daisy UI, and Vite. The website is responsive, mobile-friendly, and integrated with the Fakestore API for prototyping e-commerce. State management is handled with React Context API.
- User authentication (login, password change, OTP, multi-device login with IP address tracking, session management) using the Clerk library.
- Dark Mode support.
- Product listing fetched from the Fakestore API.
- Add products to cart and calculate total cost.
- Proceed to payment using Stripe.
The project is divided into two main directories:
frontend/
: Contains the React application.backend/
: Handles payments with Stripe.api/shop-now
: CMS for products/categories/orders.
To get started with the project, follow these steps:
- Clone the repository.
- Navigate to the
backend/
directory and runnpm install
to install the necessary dependencies. - Start the backend server by running
node server.js
. - Navigate to the
frontend/
directory and runnpm install
to install the necessary dependencies. - Start the frontend server by running
npm run dev
.
Contributions are welcome! Feel free to report any bugs or issues you find, or open a pull request if you have an improvement or feature to suggest.
This project is open source, under the MIT License.