E-Commerce Application Built Using MERN Stack Technologies for iNeuron Full Stack Developer Internship.
- Light/Dark Mode Toggle
- Global Product Search
- PayPal Payment Gateway Integration
- Products CRUD
- Orders CRUD
- Categories CRUD
- Users CRUD with JWT Authentication and Roles Based Authorization
- Products Management Dashboard
- Orders Management Dashboard
- Users Management Dashboard
- Categories Management Dashboard
- Product Image Upload To Server
- Caching API Resonponses With RTK Query
-
To run frontend of this project, you will need to add the following environment variables to your .env file
VITE_SERVER_URL='Your SERVER URL' -
To run backend of this project, you will need to add the following environment variables to your .env file
NODE_ENV=dev or productionPORT=Port For ServerMONGODB_URL=MongoDB URLJWT_SECRET=JWT SecretJWT_EXPIRY=JWT Token Exipry e.g. 1dPAYPAL_CLIENT_ID=Paypal Client IDPAYPAL_APP_SECRET=Paypal App SecretPAYPAL_API_URL=Paypal API URLPAGINATION_LIMIT=How Many Items Per Page To Show
- Node.js (>= v20.0.0)
- PNPM Package Manager (>= v8.14.0)
- MongoDB Community Server (>= v7.0.0)
- Windows, Mac OS or Any Linux Distro
Clone the project
git clone https://github.com/enthr/MERN_ECommerce.gitGo to the project directory
cd MERN_ECommerceInstall dependencies
cd frontend
pnpm install cd backend
pnpm installStart The Server. Make Sure To Define Environment Variables As Mentioned in Previous Sections.
cd frontend
pnpm dev cd backend
pnpm dev- Language: JavaScript
- UI Libraries: React, React Router, React Toastify, React Paypal JS
- Styling Library: Materia UI With Emotion Styling Engine
- Icons Library: Material Icons
- State Management: Redux Toolkit and Redux Toolkit Query
- Meta Data: React Helmet Async
- Build System: Vite, SWC, ESlint
- Language: JavaScript/Node.js
- Framework: Express
- Database: MongoDB
- ORM/ODM: Mongoose
- Libraries: bcrypt, cors, cookie-parser, jsonwebtoken, multer, dotenv









