A production-ready e-commerce marketplace with:
- Beautiful, modern design
- 12 sample products with real images
- Complete admin control panel
- User accounts & authentication
- Shopping cart & checkout
- Order management
- Product ratings & reviews
- Wishlist feature
- Cash on Delivery (COD) payment
# Open a NEW terminal and start MongoDB
mongodnpm installnpm run seedYou'll see:
Admin Email: sajibuddin729@gmail.com
Admin Password: **************
npm run devThe app will start on http://localhost:3000
- Go to http://localhost:3000
- Click Login button (top right)
- Enter:
- Email:
sajibuddin729@gmail.com - Password:
**************
- Email:
- Click the User Icon (top right)
- Click Admin Dashboard
You now have full admin access to:
- Add/edit/delete products
- Manage customer orders
- View sales statistics
- Control inventory
The database already has 12 beautiful products:
- Handmade Ceramic Mug ($25.99)
- Vintage Leather Wallet ($45.99)
- Organic Skin Care Set ($59.99)
- Handwoven Basket ($35.99)
- Artisan Jewelry Set ($89.99)
- Wooden Cutting Board ($39.99)
- Scented Candle Collection ($49.99)
- Bohemian Throw Pillow ($32.99)
- Silk Scarf ($55.99)
- Handmade Book ($28.99)
- Bamboo Plant Pot ($22.99)
- Coffee Lover Box ($72.99)
All with beautiful images from Unsplash!
- Homepage: http://localhost:3000
- Login: Click "Login" button
- Register: Click "Sign Up" button
- Products: Browse on homepage
- Cart: Click cart icon
- Wishlist: Click heart icon
- Orders: Check order history
Admin Side (admin@marketplace.com only)
- Dashboard: http://localhost:3000/admin
- Products: Click "Products" in sidebar
- Orders: Click "Orders" in sidebar
- Users: Click "Users" in sidebar
- Stats: View on dashboard
Homepage → Click User Icon (Top Right)
→ See Dropdown Menu
→ Click "Admin Dashboard"
http://localhost:3000/admin
(Only works if logged in as admin)
Login as admin@marketplace.com
→ Dashboard auto-shows recent orders
→ Left sidebar has navigation
- View total orders, users, products
- See total revenue
- Quick access to recent orders
- All on one page
- View all products
- Add new product (name, price, image, stock)
- Edit product details
- Delete old products
- Manage inventory levels
- View all customer orders
- See customer name, email, phone, address
- See items ordered
- Update order status:
- Pending → Shipped → Delivered
- Track payment status
- View all registered customers
- See email, phone, address
- See registration date
- Go to Admin Dashboard → Products tab
- Click "Add New Product"
- Fill in:
- Product Name
- Description
- Price
- Category (Home & Kitchen, Fashion, etc.)
- Stock Quantity
- Image URL (get from Unsplash, Pexels, or your server)
- Click "Save"
- Customer places order
- Status shows as "Pending"
- You verify address and details
- Pack and prepare shipment
- Update status to "Shipped"
- When customer receives:
- Update status to "Delivered"
Just look at the dashboard cards:
- Total Orders: How many orders placed
- Total Users: How many customers registered
- Total Products: Items in your store
- Revenue: Total money from all orders
Admin Email: sajibuddin729@gmail.com
Admin Password: **************
This account has:
✅ Add/edit products
✅ Manage orders
✅ View all users
✅ Access statistics
✅ Full store control
- QUICKSTART.md - 5-minute setup (you just did this)
- SETUP.md - Detailed setup & troubleshooting
- ADMIN_GUIDE.md - Complete admin features guide
- GETTING_STARTED.md - Full feature walkthrough
- README.md - Project technical overview
Problem: Admin button not showing
- Make sure you're logged in as admin@marketplace.com
- If using a customer account, you won't see it
- Always use the exact admin email
Problem: Products not loading
- Check MongoDB is running (open terminal and run
mongod) - Check backend is running (should say "Server running on port 5000")
- Verify
.env.localfile exists with correct values
Problem: Can't login
- Check email is exactly:
admin@marketplace.com - Check password is exactly:
************** - Make sure database was seeded:
npm run seed
Problem: Port 3000 or 5000 already in use
- Kill the process using that port
- Or change PORT in
.env.local - Then restart:
npm run dev
- Explore as Customer - Add products to cart, checkout
- Review Sample Products - See what's included
- Add Your First Product - Practice adding to store
- Place Test Order - Process an order end-to-end
- Customize - Change colors, store name, images
- Deploy - Host on Vercel when ready
/app → Customer pages (homepage, cart, orders, etc)
/components → React components (header, product card, etc)
/server → Express backend (API, database, auth)
/lib → Utilities (API client)
/public → Static files
Key Files:
- app/page.tsx → Homepage
- components/Header.tsx → Top navigation
- server/server.js → Express server
- server/models/ → Database schemas
- server/routes/ → API endpoints
Your marketplace is ready. Just:
- Keep
mongodrunning in one terminal - Run
npm run devin another terminal - Visit http://localhost:3000
- Login with sajibuddin729@gmail.com
- Start managing your store!
- Check SETUP.md for detailed setup
- Check ADMIN_GUIDE.md for feature details
- Check GETTING_STARTED.md for full walkthrough
- Look at terminal output for errors
- Check browser console (F12) for errors
Go to http://localhost:3000 and start selling!