This is a clone of Happilo, a popular e-commerce platform. The project is built using the MERN stack (React, and Node.js and Material UI) along with Redux Toolkit, PostgreSQL, and Git for version control. The project allows users to browse and view the designing and workflow of the happilo clone, and also includes features such as authentication and cart management.
This project is created for learning purposes only and is not intended for commercial use. All product names, logos, and brands are property of their respective owners.
If you have any questions or feedback about this project, feel free to contact me at dchaurasiya8589@gmail.com.
Before running this project, make sure you have the following installed:
-
Clone the repository (https://github.com/deepak-chaurasiyaa/Happilo-clone.git)
-
Install dependencies for both the server and client
-
Create a
.env
file in theserver
folder and add the following variables:
DATABASE_URL=postgres://:@localhost:5432/<database_name> JWT_SECRET=<jwt_secret_key>
Replace <username>
, <password>
, and <database_name>
with your PostgreSQL credentials. Replace <jwt_secret_key>
with a secure secret key for JSON Web Tokens.
-
Create the PostgreSQL database createdb <database_name>
-
Run database migrations
-
Start the server and client cd server npm run start
cd ../client npm start
The server should be running on http://localhost:3005
and the client on http://localhost:3000
.
- User authentication (register, login, logout)
- Browse products by category
- View product details
- Add products to cart
- Remove products from cart
- Checkout and place an order
- Dark and light mode
- Image magnifier
- Send Email for login register and reset password.
- React
- Node.js
- Material UI
- Redux Toolkit
- PostgreSQL
- JavaScript
- Express
- Git
Contributions are always welcome! If you'd like to contribute, please fork the repository and create a pull request.