An awesome Ecommerce website with a number of features!
View Demo
·
Report Bug
·
Request Feature
Table of Contents
MohallaMart is an ecommerce website with role-based-access(Buyer/Seller/Admin). This is an individual project with took around 8 days to complete.
Features:
- Role-based-access(Buyer/Seller/Admin).
- Dynamic review/rating system (Product rating changes in real time after adding a review)
- Become a Merchant!! (there's an option for buyers to become a 'Seller' and sell their goods)
- Create a new product (This option is only available once you become a seller)
- Razorpay Payments! (Not sure if your payments are safe?? Not an issue razorpay is here to save your day!)
- Want to see your past records? There is a dashboard for all the roles where they can see ther purchases.
- Authentication
- WebSockets (used SocketIO for adding review part) //! In the deployed version I had to remove the SocketIO as free deploying services were not allowing it... Working fine in local version though
- Responsive and Modern Web Design!
- A complete ecommerce flow.
Currently Working on:-
- OAuth
- Adding Multer to make user profile
- Converting the localstoage model to session cookies
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
The setup of the project is quite easy. Clone the repository, there are two main folders named "Frontend" & "Backend". You need to setup both server(Backend) & frontend(Frontend) seperately.
Node version 14 OR 14+ is preferable, to check your current node version you can use the command below-
- npm
node -v
Step by step setup of the project in local environment.
-
Clone the repo
git clone https://github.com/aaryansinha16/MohallaMart.git
-
First let's start the backend server
cd Backend
-
Install node modules
npm i
-
Finally Start Command
npm start
With this your backend server is live now(locally), Now to start the frontend create a new instance of terminal in the same folder then:-
-
Go to the frontend folder
cd Frontend
-
Install node modules
npm i
-
Finally Start Command
npm run dev
NOTE: I have used Vite + React in frontend, thus remember to use npm run dev
for start command
Hero- Footer- Single Product- Responsiveness-
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Aaryan - @aaryansinha16 - aaryansinha16@gmail.com
Project Link: https://mohallamart.vercel.app