new-project-1538d9f7

byYash Vikram

Create a modern, responsive website for a startup idea called **PreExpiry Deals**. The website idea is to collect products from local shops that are near expiry but still safe and valid to use, then sell them to customers at lower prices. The website should help reduce food/product waste and help customers save money. Make the UI very simple, clean, and easy for all users to interact with. Website pages/sections: 1. **Home Page** * Catchy headline: “Save Money. Reduce Waste. Buy Before Expiry.” * Short explanation of the idea * Buttons: “Shop Deals” and “Register as Shopkeeper” 2. **Product Listing Page** * Show products with image, name, original price, discounted price, expiry date, shop name, and distance * Add filters: category, price range, expiry date, location * Add search bar 3. **Product Detail Page** * Product image * Product information * Expiry date clearly visible * Discount percentage * Safety note: “Product is valid before expiry date” * Button: “Buy Now” or “Reserve Product” 4. **Customer Notification Feature** * Customers can subscribe for updates * Notify users when new pre-expiry products are available nearby * Show notification bell or alert section 5. **Shopkeeper Dashboard** * Shopkeepers can add products * Fields: product name, image, category, quantity, original price, discounted price, expiry date, pickup location * Show listed products and status 6. **Admin Dashboard** * Verify shopkeepers * Approve or reject products * Manage users, shops, and product listings 7. **Design Requirements** * Mobile-friendly responsive design * Simple navigation * Green and orange color theme * Clear cards for products * Easy buttons and readable text * User-friendly layout for beginners 8. **Extra Features** * Login/signup for customers and shopkeepers * Location-based product suggestions * Wishlist/save product option * Order history * Rating and review system * Contact/support page Create the full frontend UI with clean layout, proper sections, dummy product data, and modern design. Also suggest the best tech stack for building this project. Create a complete backend for my website idea **PreExpiry Deals**. The platform collects near-expiry but still valid products from shops and sells them at lower prices to customers. Backend requirements: Use **Node.js + Express.js + MongoDB**. Main features: 1. User authentication * Customer signup/login * Shopkeeper signup/login * Admin login * JWT authentication * Password hashing using bcrypt 2. User roles * Customer * Shopkeeper * Admin 3. Product APIs * Add product * Edit product * Delete product * Get all products * Get product by ID * Filter by category, price, expiry date, location * Only show products that are not expired 4. Product fields * Product name * Image * Category * Original price * Discounted price * Quantity * Expiry date * Shop name * Shopkeeper ID * Location * Status: pending, approved, rejected 5. Shopkeeper dashboard APIs * Add product * View own products * Update stock * View orders 6. Customer APIs * Browse products * Search products * Add to wishlist * Reserve/buy product * View order history 7. Admin APIs * Verify shopkeepers * Approve/reject products * Manage users * Manage product listings 8. Order system * Create order * Order status: reserved, confirmed, picked up, cancelled * Reduce product quantity after order 9. Notification system * Notify customers when new near-expiry products are added nearby * Store notifications in database * Mark notification as read 10. Safety logic * Do not display expired products * Show expiry date clearly * Automatically mark expired products as unavailable Create: * Folder structure * MongoDB models * Express routes * Controllers * Middleware * Sample API endpoints * Environment variables * Basic error handling * README setup instructions

No preview

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
📝

Requirements Not Generated Yet

The SRD will be automatically generated as you discuss your project with the Tech Lead Agent.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.