The AI-Powered Lesson Planner is a React.js-based web application designed to assist educators in generating structured lesson plans using AI. It utilizes ShadCN for UI components and integrates the Google Gemini API (free version) to dynamically generate lesson content. The entire project runs on the frontend, requiring no backend or database.
1. Get a free Gemini API key from google aistudio
git clone https://github.com/your-username/ai-lesson-planner.git
cd ai-lesson-planner
npm install
npm run dev
Simple login form (Email: demouser, Password: demopass).
No actual authentication; login handled via local state.
Fields: Topic, Grade Level, Main Concept & Subtopics, Materials Needed, Learning Objectives, Lesson Outline.
Fetches AI-generated content via the Google Gemini API. Generates lesson outlines, classroom activities, and assessments.
Users can edit AI-generated content before finalizing.
Converts the structured lesson plan into a downloadable PDF using react-to-print.
All data is managed on the client side (React state or localStorage). No SQL/MongoDB required.
Frontend: React.js (Vite) UI Components: ShadCN + TailwindCSS API Integration: Google Gemini API (free version) PDF Handling: react-to-print
Support for multiple plans generation saving. Improved UI/UX with drag-and-drop editing.