20 days ago
Prompt to Give AI: Build a complete MERN Stack full-stack web application based on the following full specification. The project must include: PART 1 – Base App Requirements (Pre-Hackathon) Authentication (JWT + bcrypt) Register / Login / Logout Fields: Full name, email, password, household size/dietary preference, location Full validation User Profile & Consumption Logging Profile page (view/edit) Daily food usage logs (item, quantity, category) Inventory CRUD with quantities + purchase/expiry dates Store consumption history Seeded Food Items Database 15–20 foods with: name, category, expiration period, cost/unit Inventory page: list, filter, item detail Seeded Sustainable Resources 15–20 resources: title, description/URL, category, type Resource listing page with filters Basic Tracking Logic (Non-AI) Show inventory summary, recent logs Recommend resources based on category matches Show explanation for each recommendation Image Upload (UI Only) Upload food label/receipt (JPG/PNG) Save file path Associate with logs or inventory Dashboard Show profile summary, recent logs, inventory data Recommended resources Navigation: Dashboard, Logs, Inventory, Resources, Profile, Logout Documentation README with setup steps, tech stack, env vars, seed instructions PART 2 – AI Features (Onsite Requirements) AI Consumption Pattern Analyzer Detect weekly trends Over/under consumption Predict items wasted in 3–7 days Identify imbalance (low veggies, high carbs, etc.) Output JSON insights AI Meal Optimization Engine Weekly meal plan based on: Budget Inventory Dummy nutrient rules Shopping list with estimated costs Use rule-based logic + LLM optimization OCR Food Input Use Tesseract.js or Google Vision Extract item names, quantities, expiration dates Auto-add to inventory with user confirmation AI Expiration Risk Prediction Score expiration risk by: Category Season Consumption rate Generate in-app alerts for high-risk items AI Waste Estimation Estimate grams + money wasted Weekly/monthly projections Compare with dummy community data NourishBot Chatbot LLM-based (OpenAI / HuggingFace) Capabilities: Waste reduction advice Nutrition balancing Budget meal plans Leftover transformation ideas Environmental impact explanations Use contextual memory + optional retrieval SDG Impact Scoring Engine SDG score 0–100 Weekly improvement insights Suggested next steps Bonus (Implement at least one) Local food surplus discovery (dummy dataset) Nutrient gap prediction Admin panel Multi-language support Tech Requirements MERN stack (MongoDB, Express, React, Node) Tailwind CSS + React Router Cloudinary for image uploads MVC backend structure Fully responsive UI Clean modular code Deployment ready (Render / Vercel) Final Output Expected Generate: Full backend (models, routes, controllers, services) Full frontend (pages, components, context, hooks) MongoDB schemas + seed scripts AI services (OCR, meal planner, pattern analyzer, chatbot, scoring engine) README Folder structure Running instructions Build the full project EXACTLY following all the requirements above. Begin by generating: folder structure + backend boilerplate + frontend boilerplate. ✅ This is the only prompt you need. Paste it directly into any AI builder and it will start generating the full project.
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
Start building stunning web UIs & websites!
