AI-powered mathematics tutoring platform for Ghana JHS students (B7, B8, B9) with offline capabilities
# π¬π MATH TUTOR-AI
> An intelligent, offline-capable virtual learning platform providing personalized mathematics tutoring for Ghana Junior High School students (B7, B8, B9) using AI technology.
## π Features
### For Students
- **π€ AI Math Tutor**: Interactive chatbot with step-by-step explanations
- **π Comprehensive Content**: Complete GES curriculum coverage (B7, B8, B9)
- **π Progress Tracking**: Detailed analytics and performance metrics
- **π Bookmark System**: Save difficult topics for revision
- **π± Offline Support**: Works completely offline with PWA capabilities
- **π― Practice Tests**: Interactive MCQs and short answer questions
### For Teachers
- **π¨βπ« Admin Panel**: Complete content management system
- **π€ Content Upload**: Add questions, examples, and notes
- **π Student Analytics**: Monitor class performance and individual progress
- **π Reports & Export**: Generate detailed performance reports
- **π¨ Error Reporting**: Manage student feedback and content issues
### Technical Features
- **π Authentication System**: Role-based access (Student/Teacher/Guest)
- **πΎ Offline Storage**: LocalStorage and IndexedDB for data persistence
- **π¨ Modern UI**: Built with React, TypeScript, and Tailwind CSS
- **π± Responsive Design**: Works on desktop, tablet, and mobile
- **β‘ Fast Performance**: Optimized with Vite and code splitting
## π Quick Start
### Prerequisites
- **Node.js 18+** (Download)
- **Python 3.8+** (Download)
- **Ollama** (Download)
### Installation
1. **Clone the repository**
```bash
git clone
github.com
cd ghana-ai-math-buddy
```
2. **Install frontend dependencies**
```bash
npm install
```
3. **Set up AI service**
```bash
cd ai_service
pip install -r requirements.txt
python setup_model.py
```
4. **Start the application**
```bash
# Terminal 1: Start Ollama server
ollama serve
# Terminal 2: Start AI service
cd ai_service
python -m uvicorn app:app --host 127.0.0.1 --port 8001
# Terminal 3: β¦