MedWorld Svelte Themes

Medworld

A full-stack telemedicine platform built with Svelte (frontend) and Laravel (backend) that enables seamless healthcare consultations. Features include patient-doctor appointments, real-time consultations, medical cabinet management, and TOPSIS-based doctor metrics for intelligent doctor recommendations.

šŸ„ MedWorld

A comprehensive telemedicine platform for managing medical cabinets, appointments, and patient consultations.

šŸ“‹ Overview

MedWorld is a full-stack web application designed to streamline healthcare operations. It enables seamless collaboration between patients, doctors, administrators, and support staff through an intuitive, role-based interface.

Key Features

  • šŸ‘„ Multi-role system - SuperAdmin, Cabinet Admin, Doctors, Assistants, and Patients
  • šŸ“… Appointment Management - Easy scheduling, modification, and cancellation
  • šŸ„ Cabinet Management - Complete medical cabinet organization
  • šŸ“Š Patient Records - Comprehensive medical history and documentation
  • šŸ’¬ Real-time Notifications - Instant updates on appointment changes
  • ⭐ Doctor Ratings - Patient feedback and evaluation system
  • šŸ” Secure Authentication - JWT-based user authentication

šŸ—ļø Tech Stack

Frontend

  • Framework: Svelte 5.39.5
  • Build Tool: Vite 7.1.7
  • Language: TypeScript 5.9.2
  • UI Components: Flowbite Svelte, Lucide Icons

Backend

  • Framework: Laravel
  • Language: PHP
  • Database: SQLite (configurable)
  • Authentication: JWT (Firebase)

šŸš€ Quick Start

Prerequisites

  • Node.js 16+ and npm/pnpm
  • PHP 8.2+
  • Composer
  • Git

Installation

1. Clone the repository

git clone https://github.com/koussamohamedanis-lab/MedWorld.git
cd MedWorld

2. Frontend Setup

npm install
npm run dev

Frontend will be accessible at http://localhost:5173

3. Backend Setup

cd backend-php
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
npm run dev  # or php artisan serve

Backend API runs on http://localhost:8000


šŸ”‘ Default Credentials

Role Email Password
SuperAdmin admin@medworld.com admin123
Doctor doctor@medworld.com doctor123
Patient patient@medworld.com patient123

Note: Additional users should be created by authenticated users with appropriate privileges.


šŸ“ Project Structure

MedWorld/
ā”œā”€ā”€ src/                    # Frontend (Svelte)
│   ā”œā”€ā”€ routes/            # Page routes
│   ā”œā”€ā”€ lib/               # Utilities, stores, components
│   └── app.html           # Main HTML
ā”œā”€ā”€ backend-php/           # Backend (Laravel)
│   ā”œā”€ā”€ app/               # Application logic
│   ā”œā”€ā”€ routes/            # API routes
│   ā”œā”€ā”€ database/          # Migrations & seeders
│   └── config/            # Configuration files
└── package.json           # Frontend dependencies

šŸ”§ Available Scripts

Frontend

npm run dev      # Start development server
npm run build    # Build for production
npm run preview  # Preview production build
npm run check    # TypeScript & Svelte check

Backend

php artisan serve           # Start development server
php artisan migrate         # Run database migrations
php artisan db:seed        # Seed database with sample data
./vendor/bin/phpunit       # Run tests

šŸ‘„ User Roles & Features

1ļøāƒ£ SuperAdmin

  • Manage medical cabinets
  • Create/modify doctor administrators
  • Assign premium packages
  • Send global notifications
  • System-wide oversight

2ļøāƒ£ Cabinet Admin (Doctor)

  • Manage cabinet staff and schedules
  • Create/archive doctors and assistants
  • Define booking policies
  • Handle premium packages
  • View cabinet analytics

3ļøāƒ£ Doctor

  • Manage patient consultations
  • Record medical observations & prescriptions
  • Update availability
  • View patient history
  • Accept/modify appointments

4ļøāƒ£ Assistant

  • Schedule appointments
  • Register patient attendance
  • Manage cabinet calendar
  • Handle patient registrations
  • Process payments

5ļøāƒ£ Patient

  • Create account and book appointments
  • View medical history
  • Access prescriptions and records
  • Rate doctors
  • Manage appointments

šŸ”’ Security

  • JWT authentication for API endpoints
  • Role-based access control (RBAC)
  • Encrypted password storage
  • CORS protection
  • Input validation & sanitization

šŸ“š Documentation


šŸ› Testing

Backend Tests

cd backend-php
php artisan test

šŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


šŸ‘Øā€šŸ’» Team

Team 12 - ESST Project


šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


šŸ“ž Support

For issues and questions, please open an issue on GitHub.


Built with ā¤ļø for better healthcare management

Top categories

Loading Svelte Themes