A gamified digital learning platform for rural school students (grades 6–12) focusing on STEM subjects. Built with React, TypeScript, and Tailwind CSS, designed to be mobile-first, offline-capable, and multilingual.
- Gamified Learning: Pokemon Red-style top-down adventure games
- Multilingual Support: English, Spanish, and Tamil with quick toggle
- Offline Access: Downloadable lessons and offline capability
- Mobile-First Design: Optimized for low-cost devices
- Dark/Light Mode: Theme toggle with proper color system
- Role-Based Access: Student, Teacher, and Admin dashboards
- PWA Support: Progressive Web App capabilities
Visit the live demo: https://terrificdatabytes.github.io/edugamehub1/
- Frontend: React 18, TypeScript, Vite
- Styling: Tailwind CSS v4
- Icons: Lucide React
- Components: Custom shadcn/ui components
- Deployment: GitHub Pages with GitHub Actions
- Node.js 18 or higher
- npm or yarn
-
Clone the repository:
git clone https://github.com/Terrificdatabytes/edugamehub1.git cd edugamehub1 -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
npm run build-
Automatic Deployment (Recommended):
- Push your code to the
mainormasterbranch - GitHub Actions will automatically build and deploy your app
- Your app will be available at
https://terrificdatabytes.github.io/edugamehub1/
- Push your code to the
-
Manual Deployment:
npm run deploy:gh-pages
- Netlify:
npm run deploy:netlify - Vercel:
npm run deploy:vercel - Local Testing:
npm run serve:local
The app is configured for the repository edugamehub1 by user Terrificdatabytes. The base path in vite.config.ts is set to:
base: process.env.NODE_ENV === 'production' && process.env.GITHUB_PAGES ? '/edugamehub1/' : './',- Go to your repository settings: https://github.com/Terrificdatabytes/edugamehub1/settings
- Navigate to "Pages" section in the left sidebar
- Under "Source", select "GitHub Actions"
- The deployment workflow will automatically deploy when you push to main/master
- Your app will be available at: https://terrificdatabytes.github.io/edugamehub1/
Important: If you don't have a package-lock.json file, run npm install locally first to generate it, then commit it to your repository for faster CI builds.
Use these credentials to test different user roles:
- Student:
student/demo123 - Teacher:
teacher/demo123 - Admin:
admin/demo123
The app includes:
- Service Worker for offline caching
- Offline status indicator
- Downloadable lessons
- Lite mode for low-end devices
Supported languages:
- English (en)
- Spanish (es)
- Tamil (ta)
- Hindi (hi)
- Student Dashboard: Gamified learning with progress tracking
- Teacher Dashboard: Content management and student analytics
- Admin Panel: User management and system configuration
- Pokemon-style Games: Subject-specific adventure games
- Compatibility Module: Device detection and optimization
- Troubleshooting Module: Diagnostic tools and help system
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built for rural education initiatives
- Optimized for low-bandwidth environments
- Designed with accessibility in mind
- Community-driven development
For support and questions:
- Create an issue on GitHub
- Check the troubleshooting module in the app
- Review the deployment documentation
Made with ❤️ for rural education