A powerful tool for educators and parents to create engaging reading comprehension worksheets tailored to specific grade levels and topics. This application leverages OpenAI's advanced language models to generate high-quality, educational content instantly.
-
Grade-Level Specific Content (K-12)
- Tailored passages and questions for each grade level
- Age-appropriate vocabulary and complexity
-
Topic-Based Generation
- Custom passage generation for any subject
- Curriculum-aligned content options
-
AI-Powered Content
- Utilizes OpenAI's advanced language models
- High-quality, contextually relevant content
-
User-Friendly Interface
- Clean, modern design using Tailwind CSS
- Intuitive worksheet customization
- Real-time preview capabilities
-
Professional Output
- Well-formatted worksheet generation
- PDF export functionality
- Consistent styling and layout
- React - UI library
- Tailwind CSS - Utility-first CSS framework
- Shadcn/ui - UI component library
- Vite - Build tool and development server
- Node.js - Runtime environment
- Express - Web application framework
- OpenAI API - AI content generation
Before you begin, ensure you have the following installed:
- Node.js (v18.0.0 or higher)
- npm (v8.0.0 or higher) or yarn
- A valid OpenAI API key
-
Clone the Repository
git clone https://github.com/yourusername/LearningLab.git cd LearningLab
-
Backend Setup
# Navigate to server directory cd server # Install dependencies npm install # Configure environment variables cp .env.example .env # Edit .env and add your OpenAI API key # Start the server npm run dev
-
Frontend Setup
# Navigate to UI directory cd ui # Install dependencies npm install # Start the development server npm run dev
-
Access the Application
- Backend will run on: http://localhost:3001
- Frontend will run on: http://localhost:5173
Create a .env
file in the server directory with the following variables:
OPENAI_API_KEY=your_openai_api_key_here
PORT=3001
NODE_ENV=development
CORS_ORIGIN=http://localhost:5173
- Never commit your
.env
file to version control - Keep your OpenAI API key secure
- Use environment variables for all sensitive data
- The
.env.example
file is provided as a template
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please:
- Check the existing issues
- Create a new issue with a detailed description
- Include steps to reproduce the problem