A complete e-commerce platform for premium hoodies built with React.js and Node.js.
- User Authentication - Register, login, Google Sign-In, forgot password
- Product Catalog - Browse hoodies with filters and search
- Shopping Cart - Add, remove, update quantities
- Checkout System - Complete order placement with address
- Payment Integration - Razorpay for online payments, Cash on Delivery
- Order Tracking - View order history and status
- Newsletter Subscription - Join mailing list for updates
- Wishlist - Save favorite products
- Product Reviews - Rate and review products
- Dashboard - Overview of users, orders, products
- User Management - View and manage user accounts
- Product Management - Add, edit, delete products
- Order Management - View and update order status
- Newsletter Management - Send newsletters to subscribers
- Contact Management - View customer inquiries
- Review Management - Moderate product reviews
- React.js - User interface
- Tailwind CSS - Styling
- React Router - Navigation
- Axios - API calls
- Node.js - Server runtime
- Express.js - Web framework
- MongoDB - Database
- JWT - Authentication
- Nodemailer - Email sending
- Razorpay - Payment processing
- Node.js (v14 or higher)
- MongoDB
- Gmail account for email services
- Razorpay account for payments
-
Navigate to backend directory:
cd backend -
Install dependencies:
npm install
-
Create
.envfile with your credentials:MONGODB_URI=mongodb://localhost:27017/hoodie-store JWT_SECRET=your_jwt_secret PORT=5000 EMAIL_USER=your_gmail@gmail.com EMAIL_PASS=your_gmail_app_password RAZORPAY_KEY_ID=your_razorpay_key_id RAZORPAY_KEY_SECRET=your_razorpay_key_secret GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret -
Start the server:
npm start
-
Navigate to frontend directory:
cd frontend -
Install dependencies:
npm install
-
Create
.envfile:REACT_APP_GOOGLE_CLIENT_ID=your_google_client_id -
Start the development server:
npm start
- Enable 2-Step Verification in your Gmail account
- Generate an App Password for the application
- Use the App Password in the
EMAIL_PASSenvironment variable
- Create a Razorpay account
- Get your Key ID and Key Secret from the dashboard
- Add them to your environment variables
- Go to Google Cloud Console
- Create a new project or select existing
- Enable Google+ API
- Create OAuth 2.0 credentials
- Add authorized origins and redirect URIs
- Build the project:
npm run build - Deploy the
buildfolder - Update environment variables
- Push to your hosting platform
- Set environment variables
- Ensure MongoDB connection
- Responsive Design - Works on all devices
- Dark Theme - Elegant dark UI with golden accents
- Email Notifications - Order confirmations and newsletters
- Admin Dashboard - Complete management system
- Secure Authentication - JWT tokens and Google OAuth
- Payment Processing - Razorpay integration
- Order Management - Complete order lifecycle
- Color Scheme - Dark theme with golden accents (#D4AF37)
- Typography - Modern and elegant fonts
- Layout - Clean and intuitive user interface
- Animations - Smooth transitions and hover effects
For support and inquiries, contact: dukeanddawn18@gmail.com
This project is for educational and portfolio purposes.
DUKE & DAWN - Premium Hoodies for Every Style