Drapify is a full-stack e-commerce application built using the MERN stack (MongoDB, Express.js, React.js, Node.js).
It comes with a customer-facing store and a dedicated admin panel for product management.
- Browse products
- View new collections & trending categories
- User authentication with JWT
- Add/remove items from cart
- Persist cart per user
- Add new products with image upload (Multer)
- Remove products
- View all products
- Frontend: React.js CRA for Customer UI + Vite for Admin Panel
- Backend: Node.js, Express.js
- Database: MongoDB Atlas
- Authentication: JSON Web Tokens (JWT)
- Image Upload: Multer
- CORS Handling: cors middleware
- Deployment: Render
drapify/
βββ admin/ # React (Vite) admin panel
βββ client/ # React (CRA) customer-facing store
βββ server/ # Backend (Node.js + Express)
βββ README.md # Project documentationgit clone https://github.com/yourusername/drapify.git
cd drapify2οΈβ£ Setup Backend (Server)
cd server
npm installCreate a .env file in the server folder:
MONGO_URI=your-mongodb-atlas-connection-string
JWT_SECRET=your-secret-key
PORT=4000Run the backend:
npm start3οΈβ£ Setup Client (User Storefront - CRA)
cd client
npm install
npm start4οΈβ£ Setup Admin Panel (Vite)
cd admin
npm install
npm run dev
