SchoolTry is an educational technology platform that leverages AI to enhance the learning experience. This application allows students to ask questions about their lessons and receive AI-generated responses, making learning more interactive and engaging.
- Interactive Lessons: Browse and view educational content
- AI-Powered Q&A: Get instant answers to your questions
- User Authentication: Secure login and registration system
- Admin Dashboard: Manage lessons and content with ease
- Responsive Design: Works on desktop and mobile devices
This application integrates with the following AI services:
- Hugging Face - For natural language processing and question-answering capabilities
- OpenRouter - For accessing various AI models including GPT-3.5 and Claude
The AI analyzes lesson content and provides contextual, accurate responses to student questions, enhancing the learning experience.
- Backend: Laravel 10.x
- Frontend: Vue.js 3, Inertia.js
- Styling: Tailwind CSS
- Database: SQLite (can be configured for MySQL/PostgreSQL)
- AI Services: Hugging Face, OpenRouter
- Deployment: Ready for Laravel Forge, Vercel, or traditional hosting
- PHP 8.1 or higher
- Composer
- Node.js 16+ & NPM
- SQLite (or MySQL/PostgreSQL)
- Hugging Face API Key (optional)
- OpenRouter API Key (optional)
-
Clone the repository
git clone https://github.com/PappyZero/schooltry-edtech.git cd schooltry-edtech -
Install PHP dependencies
composer install
-
Install JavaScript dependencies
npm install
-
Create and configure .env file
cp .env.example .env php artisan key:generate
-
Configure database
touch database/database.sqliteUpdate
.envwith your database configuration. -
Run migrations and seeders
php artisan migrate --seed
-
Compile assets
npm run build
-
Start the development server
php artisan serve
-
Start the Queue Worker in another terminal
php artisan queue:work
-
Access the application Open your browser and visit:
http://localhost:8000
- Email: admin@example.com
- Password: password
Create a .env file and configure the following variables:
APP_NAME="SchoolTry Learning Assistant"
APP_ENV=local
APP_DEBUG=true
APP_URL=http://localhost
# Database Configuration
DB_CONNECTION=sqlite
DB_DATABASE=/path/to/your/database.sqlite
# AI Configuration
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
HUGGINGFACE_MODEL=google/flan-t5-base
OPENROUTER_API_KEY=your_openrouter_api_key_here
OPENROUTER_MODEL=openai/gpt-3.5-turboRun the test suite with:
php artisan testContributions are welcome! Please feel free to submit a Pull Request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Your Name - @Pappy_Zero
Project Link: https://github.com/PappyZero/schooltry-edtech