MediQueue is a modern tutor booking and session management platform built with Next.js 16 and React 19. It allows students to browse available tutors, book sessions, and manage their bookings β all from a clean, responsive interface.
π Live Site: https://mediqueue-indol.vercel.app
- π Secure Authentication β Powered by Better Auth with JWT token-based session management, supporting user registration, login, and protected routes.
- π Browse Available Tutors β Students can explore a curated list of tutors with rich profile cards, making it easy to find the right match.
- π Book & Manage Sessions β Users can book tutoring sessions and track all upcoming bookings from a dedicated dashboard.
- β Cancel Bookings β Students have the ability to cancel any active session directly from their bookings page with real-time UI updates.
- π Dark / Light Mode β Full theme support via
next-themes, allowing users to switch between dark and light modes seamlessly. - π± Fully Responsive Design β Built with Tailwind CSS v4 and HeroUI v3 for a polished experience across all screen sizes.
- β‘ Optimized Performance β Leverages Next.js 16 with Turbopack for fast builds and server-side rendering where appropriate.
| Category | Technology |
|---|---|
| Framework | Next.js 16.2.9 (Turbopack) |
| UI Library | React 19 |
| Component Kit | HeroUI v3 |
| Styling | Tailwind CSS v4 |
| Authentication | Better Auth + MongoDB Adapter |
| Database | MongoDB |
| Icons | Lucide React, React Icons |
| Animations | Animate.css, Swiper |
| Deployment | Vercel |
- Node.js 18+
- npm or yarn
- MongoDB Atlas URI
- Backend server running (see mediqueue-server)
# Clone the repository
git clone https://github.com/Morshedul-developer/mediqueue.git
cd mediqueue
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.localCreate a .env.local file in the root directory:
NEXT_PUBLIC_SERVER_URL=http://localhost:5000
BETTER_AUTH_SECRET=your_secret_here
BETTER_AUTH_URL=http://localhost:3000
MONGODB_URI=your_mongodb_uri_herenpm run devOpen http://localhost:3000 in your browser.
npm run build
npm run startsrc/
βββ app/
β βββ layout.jsx # Root layout with providers
β βββ page.jsx # Home page
β βββ not-found.jsx # 404 page
β βββ error.jsx # Error boundary page
β βββ (routes)/ # Feature-based route folders
βββ components/
β βββ Banner.jsx
β βββ AvailableTutors.jsx
β βββ WhyChoose.jsx
β βββ LearningJourney.jsx
β βββ ui/
β βββ TutorCard.jsx
βββ lib/
βββ auth-client.js # Better Auth client config
- Backend Repository: mediqueue-server