Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ MediQueue

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


✨ Key Features

  • πŸ” 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.

πŸ› οΈ Tech Stack

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

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • MongoDB Atlas URI
  • Backend server running (see mediqueue-server)

Installation

# 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.local

Environment Variables

Create 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_here

Run Development Server

npm run dev

Open http://localhost:3000 in your browser.

Build for Production

npm run build
npm run start

πŸ“ Project Structure

src/
β”œβ”€β”€ 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

πŸ”— Related

About

πŸŽ“ MediQueue β€” a full-stack tutor booking platform where students can discover tutors, book sessions, and manage appointments with JWT-secured authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages