This is an E-Commerce Web App. It includes all the basic functionalities like user log in sign up as well as an admin panel and a payment gateway system. I have also included mail sending functionalities for better user experience. I have tried to work with as many dependencies as possible on both client and server side as this was my first major project. You can find the documentation for client and server in their respective folders. Thank you for visiting my website!
- Node JS should be installed. Install
- JavaScript should be enabled in your browser.
- MongoDB should be installed. Download here and run installer.
- Open File Explorer
- Go to C:/Program Files/MongoDB/Server/4.2(or some other version)/bin
- Copy this path.
- Open command prompt.
- Type
cd /
- Type
cd <paste the path you copied here>
- Hit enter
Now we have to create the database folder for mongoDB. You can create a custom folder if you want or use the default one that mongoDB creates. If you create a custom folder please copy the path to that folder.
- If you have not created a custom folder then type
mongod.exe
and hit enter. - If you have created a custom folder then type
mongod.exe --dbpath "<paste the path to your folder here>"
and hit enter.
Open another command prompt. Repeat steps 1 through 7
- Type
mongo.exe
and hit enter.
Out MongoDB server has started!
- Clone the repository.
- Navigate to the E-Commerce directory in your terminal.
- Run the following commands.
npm install --save
This will install dependencies on the server side.cd client
This will navigate to the client directory.npm install --save
This will install dependencies on the client-side.cd ..
Jump back to E-Commerce directory.npm run dev
Start the project by running the required scripts on the server and client side.
- If the above mentioned ports are not free then errors will appear. So make sure your ports are free.
- If node is not installed then the app will crash. Run
node -v
from anywhere in your terminal. If it shows error then re-install node. - In case any other error, start the whole process again from cloning the repo.
- React
- Redux
- Material UI
- React-Bootstrap
- Tailwind CSS
- Node
- Express
- Mongoose
- MongoDB Atlas
- Razor Pay for Payment Gateway
- Cloudinary for cloud image storage