Minor Project Repository
This is a our minor project repo, made during march 2020 the project uses the MERN stack
Frontend -> React.js
Backend -> Node.js
Middileware -> Express.js
Database -> MongoDB
It is an ecommerce like website which aims to sell the tribal products and have almost all the basic functions that an ecomm website have, the project is divided into two major sections
SRS available at: https://drive.google.com/file/d/1IqX0ZnX53CDv8mXpWkcwqnpiYSL65cCU/view?usp=sharing
-
Dashboard
1.1 Login/ Signup Screen (OTP Verification)
1.2 Product Cart
1.3 Payment Gateway
1.4 Product Wishlist -
Shopkeeper
1.1 CRUD Operations
1.2 Product Listing
Prerequisites
- Git installed
- npm or yarn installed
Steps to get started with project
-
Clone the repo using git clone https://github.com/apoorvverma/Minor-TribaKart.git form terminal.
-
Change the directory to e-tribal
-
To start Frontend
3.1 Change the directory to e-tribal/frontend.
3.2 Install the dependencies using yarn or npm I am using yarn here.
3.3 Type yarn and hit enter (it will take a few minutes depending on your internet speed).
3.4 Now just cd into frontend/src and type yarn start (this will start the project on http://localhost:3000/). 3.5 To see the Dashboard you can head over to http://localhost:3000/dashboard. -
To start Backend
4.1 Change the directory to e-tribal/backend.
4.2 Install the dependencies as done for frontend.
4.3 Type yarn and hit enter.
4.4 Once all the packages are installed start the Node.js server using node server.js command.
(You will notice now the data appers on the dashboard and is coming form the server running at Port:5050) -
To run Shopkeeper_Portal
5.1 Change the directory to e-tribal/shopkeeper.
5.2 Install the dependencies as done for frontend.
5.3 Type yarn and hit enter.
5.4 Now just cd into shopkeeper/src and type yarn start (this will start the project on http://localhost:3000/). 5.5 You will notice now the data appers on the shopkeeper dashboard and is coming form the server running at Port:5050.
5.6 Now you can perform the CRUD operations on the data and that will be reflected on the dashboard and will be updated in the mongodb-atlas.