ClassHub
A social learning platform for tuition classes in Sri Lanka
One place for teachers, institutes and students: run the tuition business, reach new students, share knowledge and sell learning content. Built as a Laravel API with a separate React frontend.
Platform features
- Tuition class managementFull control of classes for teachers and institutes: class setup, schedules, students, enrollment and fees.
- Marketing campaignsPromote classes to students and parents through SMS, WhatsApp and email campaigns.
- Social wallA shared feed where teachers, institutes and students post ideas, events and educational content.
- LibraryTeachers and institutes publish and share educational material with their students and the wider community.
- MarketplaceTeachers and institutes sell their courses and publications to learners.
Engineering
- Clean, layered architecture: controllers, services and repositories keep business rules independent of the framework and the database
- SOLID principles: single-purpose services, and dependency inversion through repository interfaces bound in service providers
- Design patterns: Repository, Service layer, Strategy/Manager (swappable SMS gateway drivers), Facade, Result object, Form Request validation and a middleware pipeline
- Production habits: idempotent requests, rate limiting, request tracing, structured error logging, queued email jobs and token authentication with refresh
Built so far
- Multi-step onboarding for teachers and institutes: classes, medium, class size, fees, location, an advertisement image with a built-in editor, and a payment step
- Student, teacher and institute roles with route guards, a role switch and a teacher dashboard
- Dockerised React frontend served by nginx, with mocked APIs for working without the backend
