Admin Features
Feature | Coded? | Description |
---|---|---|
Add a Product | ✔ | Ability of Add a Product on the System |
List Products | ✔ | Ability of List Products |
Delete a Product | ✔ | Ability of Delete a Product |
Users List | ✔ | Total Number of Users |
Revenue | ✔ | Total Revenue |
User Features
Feature | Coded? | Description |
---|---|---|
Create a Cart | ✔ | Ability of Create a new Cart |
See Cart | ✔ | Ability to see the Cart and it items |
Remove a Cart | ✔ | Ability of Remove a Cart |
Add Item | ✔ | Ability of add a new Item on the Cart |
Remove a Item | ✔ | Ability of Remove a Item from the Cart |
Checkout | ✔ | Ability to Checkout |
HiveDeal This is a full-stack e-commerce project built using the MERN stack (MongoDB, Express.js, React.js, Node.js). It allows users to browse products, add them to their cart, and make purchases.
-
Clone the repository:
https://github.com/Puneet-NJ/e-commerce
-
Install dependencies:
- Backend:
cd backend
npm i
- Frontend:
cd frontend && e-commerce
npm i
- Backend:
-
Set up environment variables: Create a
.env
file in the root directory and add the following variables: -
Run the development server:
cd backend:npm start
cd frontend && cd e-commerce:npm start
-
Access the application:
PORT=3000
mongo_URI=YOUR_MONGODB_URL
token=ADMIN_TOKEN(ANY_VALUE)
user_token=USER_TOKEN
adminName=ADMIN_MAIL
adminPass=ADMIN_PASS
-
Run the development server:
cd backend:npm start
cd frontend && cd e-commerce:npm start
-
Access the application: Server running on
http://localhost:3000
forbackend
Openhttp://localhost:3001
in your webbrowser forfrontend
The application can be deployed using Vercel. Follow the steps mentioned in the Vercel CLI documentation to deploy the application.
Contributions are welcome! If you find any issues or want to contribute to the project, feel free to open a pull request or submit an issue.