EMart is a online ecommerce tool that helps customers to buy items. Here the customers are not able to sell products. Only one shop can add products to this site. And the users can purchase the products according to their needs. Here the admin user can add the products to the platform using admin dashboard.
This web application was developed using ReactJs and Material UI has used as the component library for the UI elements.
Requirements needed
- NodeJS
- Azure storage account (You can run the web application without this but you cannot upload images to the product)
As all the other node projects you need to run npm i
to install the required packages.
Then you need to add an .env file in the root of the project which contains the credentials for Azure Storage account. Add the following environmental variables to .env file and change their values accordingly.
REACT_APP_STORAGESASTOKEN="YOUR_STORAGE_ACCESS_TOKEN"
REACT_APP_STORAGERESOURCENAME="YOUR_STORAGE_RESOURCE_NAME"
As well as this web application needs a backend to operate. Without a proper backend you cannot do anything. You can find the repository of the backend of this application by this url. To configure the backend to the web application you need to change a variable value in the src/constants/index.js file at line number 1.
export const HOST_URL = 'YOUR_BACKEND_URL';