One Stop EShop - A Modern Fullstack E-commerce Website Built with the React, Redux Toolkit, Express, Tailwind CSS, Heroicons, Mongo DB and Payment Gateway.
ā [Live] [https://one-stop-eshop.vercel.app/] š
ā [Overview] [https://youtu.be/QjBAAmpt8oM]
Following steps are required to run the application:
Open Terminal
Clone One Stop EShop Repository
git clone https://github.com/iamsomraj/MERN-Shopping-App.git
Go to Root Directory of MERN-Shopping-App
Setup Environment Variables
To run this project, you will need to add the following environment variables to your .env.example
file for both the backend and frontend folders:
Backend:
MONGODB_URI
: Your MongoDB URIPORT
: Port for the backend serverNODE_ENV
: Node environment (e.g., "development" or "production")PAYPAL_CLIENT_ID
: PayPal client IDSECRET
: Your secret keyPRODUCTION_CLIENT_ORIGIN
: Client origin for productionDEVELOPMENT_CLIENT_ORIGIN
: Client origin for developmentFrontend:
VITE_NODE_ENV
: Vite Node environment (e.g., "development")VITE_PRODUCTION_BASE_URL
: Production base URL for the frontendVITE_DEVELOPMENT_BASE_URL
: Development base URL for the frontendVITE_PRODUCTION_API
: Production API URL for the frontendVITE_DEVELOPMENT_API
: Development API URL for the frontendCreate these environment variables, save them in respective folders. File name can be .env
.
cd backend
npm run dev
cd frontend
npm run dev
Frontend:
Backend:
Language Used:
LinkedIn : iamsomraj š
Portfolio: Somraj Mukherjee š
Give me a star ā
if this project helped you š¦ š§
Pull requests are welcome. š¤ For major changes, please open an issue first to discuss what you would like to change. š
Please make sure to update tests as appropriate. ā
MIT š°