A feature-rich E-Commerce Website designed to deliver a seamless shopping experience for users while providing robust backend operations for administrators. This project integrates modern technologies to ensure scalability, performance, and security.
- MongoDB: Used as the primary database to store user data, product catalogs, orders, and more.
- Redis: Integrated for caching frequently accessed data, improving performance and reducing latency.
- Secure payment processing with Stripe.
- Supports multiple payment methods, including credit/debit cards and wallets.
- JWT (JSON Web Tokens) for secure authentication.
- Access Tokens for short-term authentication and Refresh Tokens for renewing sessions.
- Built-in password hashing and recovery mechanisms.
- Easy-to-use registration and login features.
- Validations to ensure data integrity and security.
- Dynamic product catalog with options to add, update, or delete products.
- Organized categories for better user experience.
- Add/remove products to/from the cart.
- Real-time updates to the cart.
- Comprehensive checkout process with secure payment handling.
- Email notifications sent for successful transactions.
- Admin-defined promotional codes for discounts.
- Validation of coupon codes during checkout.
- Manage products, orders, users, and analytics.
- Role-based access control for administrators.
- Gain insights into sales performance, customer behavior, and revenue trends.
- Interactive graphs and charts for visualization.
- Responsive and modern UI designed with Tailwind CSS.
- Mobile-friendly and accessible design elements.
- Persistent shopping cart synced with user sessions.
- Smooth and secure checkout flow.
- Secure data transmission using HTTPS.
- JWT-based authentication to prevent unauthorized access.
- Data sanitization to avoid SQL injection and XSS attacks.
- Password hashing for safe credential storage.
- Encryption of sensitive information like payment data and personal information.
- Regular database backups to prevent data loss.
- Optimized performance by caching frequently accessed data.
- Backend: Node.js, Express.js
- Frontend: Tailwind CSS, JavaScript
- Database: MongoDB
- Caching: Redis
- Payments: Stripe API
- Authentication: JWT
git clone https://github.com/anki2003ta/ecommerce-platform.git
cd ecommerce-platformPORT=5000
MONGO_URI=your_mongo_uri
UPSTASH_REDIS_URL=your_redis_url
ACCESS_TOKEN_SECRET=your_access_token_secret
REFRESH_TOKEN_SECRET=your_refresh_token_secret
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
STRIPE_SECRET_KEY=your_stripe_secret_key
CLIENT_URL=http://localhost:5173
NODE_ENV=developmentnpm installcd backend
npm run devcd frontend
npm run dev