Welcome to ClickBazaar - A secure, easy-to-use e-commerce platform for shopping and managing orders.
-
Install All Dependencies
npm run install-all
-
Configure Backend
cd backend cp .env.example .env # Edit .env with your Gmail app password
-
Start the Application
Option A: One Command (Easiest - Monorepo)
npm run dev # Runs both frontend and backend simultaneouslyOption B: Separate Terminals
Terminal 1 (Backend):
cd backend npm run devTerminal 2 (Frontend):
cd frontend npm run dev -
Open Your Browser
- Frontend: http://localhost:5173
- Backend: http://localhost:4100
- Database: Auto-created at
backend/db.sqlitewith 35 seeded products across 7 categories - Products: Frontend fetches from
/api/productsendpoint
- Click "Sign Up" button
- Enter your Full Name
- Enter your Email Address (must be unique)
- Create a Secure Password (must have):
- At least 8 characters
- 1 uppercase letter (A-Z)
- 1 lowercase letter (a-z)
- 1 number (0-9)
- 1 special character (@$!%*?&)
- Click "Send Verification Code"
- Check your email for the 6-digit code
- Enter the code in the app
- ✅ Account created! You're logged in.
Important: If you try to sign up with an email that's already registered, you'll see a message to Log In instead.
- Click "Log In" button
- Enter your Email
- Enter your Password
- Click "Sign In"
- ✅ Logged in successfully
- On the login page, click "Forgot Password?"
- Enter your Email Address
- Click "Send Reset Code"
- Check your email for the recovery code
- Enter the code back in the app
- Enter your new password (same strength requirements)
- Click "Reset Password"
- ✅ Password updated! Log in with new password
- Click on your name/avatar (top right)
- Click "Edit Profile"
- Update your information
- Click "Save Changes"
- ✅ Profile updated
- Go to Shop section
- View all available items
- Click on any item to see details
- Read the AI-generated description (written by AI)
- See AI recommendations for similar items
- Click the heart icon on any product
- Product saved to your Wishlist
- View wishlist from your profile
- Click "Add to Cart" button
- Select quantity if needed
- ✅ Added to cart
- Click cart icon to view items
- Review and adjust quantities
- Click "Place Order" to checkout
- Click cart icon (top right)
- Review items and quantities
- Click "Place Order"
- ✅ Order placed!
- View your order in Orders section
- Click on your name/avatar (top right)
- Click "My Orders"
- See all your orders with:
- Order ID
- Items purchased
- Order date
- Current status (Pending / Processing / Shipped / Delivered)
- Click "Help" or the chat icon
- Ask any question about:
- How to shop
- Product information
- Order status
- General help
- ClickBot (AI Assistant) will respond instantly
- AI is trained to help you shop
- Click "Help" → "Support"
- Fill in your information:
- Name
- Message
- Click "Send Message"
- ✅ Message sent!
- Admin will respond to your email
Admin Email: dbose272@gmail.com
Admin Key: DEBBIN27
- Click "Log In"
- Check the "Admin" checkbox
- Enter Admin Email
- Enter your Admin Key
- Enter Password
- ✅ Logged in as Admin
- After logging in as admin, click "Admin Dashboard"
- See overview of:
- All users on platform
- All orders placed
- System activity logs
- Active user sessions
- Go to Admin Dashboard → Users
- View all registered users
- See user details:
- Name
- Account creation date
- User type (Customer/Admin)
- Click on user to change their role
- Go to Admin Dashboard → Orders
- View all orders from all customers
- See order details:
- Customer name
- Items ordered
- Order total
- Current status
- Click order to update status:
- Pending → Processing
- Processing → Shipped
- Shipped → Delivered
- Go to Admin Dashboard → Audit Logs
- See all changes:
- User login times
- Order placements
- Admin role changes
- When changes were made
- Go to Admin Dashboard → Active Sessions
- See who's currently logged in
- See when they logged in
✅ DO:
- Use strong passwords with mixed characters
- Keep your password private
- Log out on shared computers
- Check your email for suspicious activity
- Use "Forgot Password" if you think someone knows your password
❌ DON'T:
- Share your password with anyone
- Use the same password on other websites
- Write your password in emails or messages
- Log in on unsecured WiFi for sensitive actions
- Leave your browser open on shared devices
Backend .env file:
# Server Config
PORT=4100
NODE_ENV=development
# Security
JWT_SECRET=your-secret-key
ADMIN_EMAIL=dbose272@gmail.com
ADMIN_KEY=DEBBIN27
# AI Services (Optional, for ChatBot)
GOOGLE_API_KEY=your-google-api-key
GROQ_API_KEY=your-groq-api-key
# Email (Gmail SMTP)
EMAIL_USER=your-email@gmail.com
EMAIL_PASSWORD=your-16-char-app-password
REPLY_EMAIL=your-email@gmail.comHow to get Gmail App Password:
- Go to https://myaccount.google.com/apppasswords
- Select "Mail" and "Windows Computer"
- Copy the 16-character password
- Paste into
.envasEMAIL_PASSWORD
- All features work on phones and tablets
- Touches work instead of clicks
- Notifications appear in center of screen
- Full interface with all options visible
- Keyboard shortcuts available
- Larger product images
- Auto-detects your device's dark/light mode
- Works in both light and dark themes
Q: What if I forget my password?
A: Click "Forgot Password?" on login page. You'll get an email with a reset code.
Q: Can two people use the same email?
A: No, each email is unique. If you try to sign up with an existing email, you'll be told to log in instead.
Q: How long do OTP codes last?
A: 10 minutes. If it expires, you can request a new one.
Q: Can I delete my account?
A: Currently, you can't self-delete. Contact admin support for account removal.
Q: How do I become an admin?
A: Only existing admins can create new admin accounts. Contact the platform owner.
Q: Is my password encrypted?
A: Yes! Passwords are encrypted using industry-standard Bcrypt before being stored.
🏠 Back to README | 📐 Architecture | 📜 Instructions | ⚖️ License
© 2026 ClickBazaar. Made simple, made secure.
Access the advanced command dashboard with these authenticated credentials:
- Email:
your_admin_email_here - Pass:
your_admin_key_here(Supply as 'Admin Key' during registration/login)
For support-related inquiries, contact the archival node at:
- 📧 Support Email:
your_support_email_here - 📞 Direct Phone:
your_phone_number_here
ClickBazaar: 2026 Global Archive
Designed by DEBASMITA BOSE | Contributed by BABIN BID
Built for visual excellence, archival integrity, and modular scale. 🏛️✨