Shoppora is a full-stack MERN shopping application where users can browse products, filter by categories, add products to the cart, and pay using PayPal. Admins can log in to manage products, orders, and site features.
- Browse products with images, descriptions, and prices
- Filter products by categories
- Search products
- Add products to cart
- Checkout using PayPal
- View payment success or failure pages
- Admin login for sellers/managers
- Add, edit, and delete products
- Manage orders and view order details
- Manage site features
- JWT-based user authentication & session management
- Protected routes for admin and users
- Responsive design
- Frontend: React, Redux Toolkit, React Router, TailwindCSS
- Backend: Node.js, Express.js, MongoDB, Mongoose
- Authentication: JWT
- Payments: PayPal
- Deployment: Render
git clone https://github.com/yourusername/shoppora.git
cd shopporacd backend
npm installcd ../client
npm installPORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
PAYPAL_CLIENT_ID=your_paypal_client_idcd backend
npm run devcd ../client
npm run devBackend will run on http://localhost:5000
Frontend will run on http://localhost:5173
shoppora/
├── backend/
│ ├── controllers/ # Route handlers for API
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ ├── middleware/ # Middleware functions
│ └── server.js # Entry point for backend
├── client/
│ ├── src/
│ │ ├── components/ # Reusable React components
│ │ ├── pages/ # React pages for routes
│ │ ├── store/ # Redux store and slices
│ │ └── App.js # Main React app component
│ └── vite.config.js # Vite configuration
└── README.md # Project documentation
- Email: Shiveshanand8742@gmail.com
HAPPY CODING