Act as a Senior Technical Curriculum Designer and Full-Stack Engineering Instructor. Task: Generate a comprehensive, highly technical, and exhaustive slide-by-slide presentation based on the provided document: "Full-Stack Application.pdf". This presentation will be used to instruct developers on building an "AI-Powered Agriculture Crop Advisory Assistant." Constraint Checklist & Rules: * Do NOT skip any technical steps, CLI commands, or environment variables mentioned in the source text. * Clearly divide the presentation into two distinct deployment pathways: The Replit Approach and The Antigravity Approach. * Maintain an authoritative, instructional, and encouraging tone. * Use bullet points for readability, and format code snippets, file names (e.g., .env), and tool names in bold or inline code blocks. Required Slide Structure & Content Coverage: * Slide 1: Title Slide - Title: Building an AI-Powered Agriculture Crop Advisory Assistant. Subtitle: A Tale of Two Workflows (Replit vs. Antigravity). * Slide 2: The Core Foundation (Shared Step) - Explain the generation of the Master Mega-Prompt using Gemini. Detail accessing gemini.google.com, utilizing the Meta-Prompt, and copying the exact markdown structure (Core Mission, Tech Stack, DB Schema, RLS, etc.) to feed the AI coding agents. * Slide 3: Approach 1 - The Replit Workflow (Setup & Build) - Cover Replit account creation via GitHub, pasting the Mega-Prompt into Replit Agent, and specifically configuring the system to "Use the database provided by Replit instead of Supabase." * Slide 4: Approach 1 - Configuration & GitHub Sync - Detail adding Replit Secrets (GEMINI_API_KEY from Google AI Studio and JWT_SECRET via OpenSSL). Explain the exact Git panel workflow for pushing the branch to origin/main. * Slide 5: Approach 1 - Verification & Deployment - List the 4-step Feature Verification Checklist (Auth, Farm Management, AI Advisory Engine, DB Persistence). Explain how to debug via the chat interface and the final 1-click Replit "Publish" pipeline. * Slide 6: Approach 2 - The Antigravity Workflow (Setup & Supabase) - Detail downloading Google Antigravity IDE. Explain creating a Supabase Cloud project, enabling RLS, and capturing the Project URL, anon public key, and service_role secret key. * Slide 7: Approach 2 - Agent Build & DB Migrations - Explain pasting the Mega-Prompt into Antigravity Agent with the critical appended rule for Supabase migration (/supabase/migrations/001_initial_schema.sql). Detail the frontend/backend .env variable setup and how to execute the SQL migrations manually or via the Agent. * Slide 8: Approach 2 - Local Testing & Git Configuration - Outline running npm run dev for both client and server. Detail setting up Git identity (user.name, user.email), initializing the repo, configuring .gitignore, and pushing to a remote GitHub repository via terminal commands. * Slide 9: Approach 2 - Dual Deployment (Render & Vercel) - Explain deploying the Node.js backend
Act as a Senior Technical Curriculum Designer and Full-Stack Engineering Instructor.
Task: Generate a comprehensive, highly technical, and exhaustive slide-by-slide presentation based on the provided document: "Full-Stack Application.pdf". This presentation will be used to instruct developers on building an "AI-Powered Agriculture Crop Advisory Assistant."
Constraint Checklist & Rules:
* Do NOT skip any technical steps, CLI commands, or environment variables mentioned in the source text.
* Clearly divide the presentation into two distinct deployment pathways: The Replit Approach and The Antigravity Approach.
* Maintain an authoritative, instructional, and encouraging tone.
* Use bullet points for readability, and format code snippets, file names (e.g., .env), and tool names in bold or inline code blocks.
Required Slide Structure & Content Coverage:
* Slide 1: Title Slide - Title: Building an AI-Powered Agriculture Crop Advisory Assistant. Subtitle: A Tale of Two Workflows (Replit vs. Antigravity).
* Slide 2: The Core Foundation (Shared Step) - Explain the generation of the Master Mega-Prompt using Gemini. Detail accessing gemini.google.com, utilizing the Meta-Prompt, and copying the exact markdown structure (Core Mission, Tech Stack, DB Schema, RLS, etc.) to feed the AI coding agents.
* Slide 3: Approach 1 - The Replit Workflow (Setup & Build) - Cover Replit account creation via GitHub, pasting the Mega-Prompt into Replit Agent, and specifically configuring the system to "Use the database provided by Replit instead of Supabase."
* Slide 4: Approach 1 - Configuration & GitHub Sync - Detail adding Replit Secrets (GEMINI_API_KEY from Google AI Studio and JWT_SECRET via OpenSSL). Explain the exact Git panel workflow for pushing the branch to origin/main.
* Slide 5: Approach 1 - Verification & Deployment - List the 4-step Feature Verification Checklist (Auth, Farm Management, AI Advisory Engine, DB Persistence). Explain how to debug via the chat interface and the final 1-click Replit "Publish" pipeline.
* Slide 6: Approach 2 - The Antigravity Workflow (Setup & Supabase) - Detail downloading Google Antigravity IDE. Explain creating a Supabase Cloud project, enabling RLS, and capturing the Project URL, anon public key, and service_role secret key.
* Slide 7: Approach 2 - Agent Build & DB Migrations - Explain pasting the Mega-Prompt into Antigravity Agent with the critical appended rule for Supabase migration (/supabase/migrations/001_initial_schema.sql). Detail the frontend/backend .env variable setup and how to execute the SQL migrations manually or via the Agent.
* Slide 8: Approach 2 - Local Testing & Git Configuration - Outline running npm run dev for both client and server. Detail setting up Git identity (user.name, user.email), initializing the repo, configuring .gitignore, and pushing to a remote GitHub repository via terminal commands.
* Slide 9: Approach 2 - Dual Deployment (Render & Vercel) - Explain deploying the Node.js backend
Created using ChatSlide
This guide outlines the essential steps for setting up a project using Replit and Supabase. It begins with generating a Master Mega-Prompt and configuring a Replit account, followed by installing Antigravity and creating a Supabase project. The process includes building and testing the application, configuring environment variables, and deploying both backend and frontend components. Additionally, it covers GitHub integration, ensuring proper testing and deployment practices for a seamless...