Skip to content

harshitIIITD/Healthcare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accessing the Application

Visit https://139.84.171.208/ to access the application.

Default credentials:

I have created a gradio based mri analysis application

Visit https://huggingface.co/spaces/hjvsf/mri to access the application.

Demo Video

Watch a demonstration of the application's features:

Demo Video

▶️ Watch full video

Click on the preview image above or the link to watch the full demonstration video

Healthcare Management System

A comprehensive healthcare management web application built with Laravel, React, and Vultr cloud services. The system provides health assessments, MRI analysis, wellness planning, and educational content.

Features

  • Health Assessment Tools
  • MRI Analysis and Visualization
  • Personalized Wellness Plans
  • Educational Content
  • Real-time Health Insights
  • Interactive Dashboard
  • Secure Authentication
  • Expert Chat Support

Prerequisites

  • PHP 8.2+
  • Node.js 16+
  • Composer
  • MySQL/PostgreSQL
  • Vultr Object Storage credentials

Installation

  1. Clone the repository:
git clone https://github.com/harshitIIITD/Healthcare.git
cd Healthcare
  1. Install PHP dependencies:
composer install
  1. Install Node.js dependencies:
npm install
  1. Configure environment variables:
cp .env.example .env

Update the following variables in

.env

:

APP_URL=http://139.84.170.84


DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password


VULTR_ENDPOINT=https://del1.vultrobjects.com
VULTR_ACCESS_KEY=your_access_key
VULTR_SECRET_KEY=your_secret_key
VULTR_REGION=del1
VULTR_BUCKET=your_bucket
  1. Generate application key:
php artisan key:generate
  1. Run database migrations:
php artisan migrate
  1. Link storage:
php artisan storage:link
  1. Build frontend assets:
npm run build

Running the Application

For development:

# Terminal 1 - Laravel server
php artisan serve


# Terminal 2 - Vite development server
npm run dev

For production:

npm run build
php artisan config:cache
php artisan route:cache
php artisan view:cache

Accessing the Application

Visit http://139.84.171.208/ to access the application.

Default credentials:

API Documentation

The API documentation is available at /docs endpoint when running in development mode.

Testing

Run test suite:

php artisan test

Deployment

  1. Configure your web server (Nginx/Apache) to point to the

public

directory 2. Set appropriate permissions:

chmod -R 775 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache
  1. Set up SSL certificate
  2. Configure database backups
  3. Set up queue worker:
php artisan queue:work

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

Security

If you discover any security vulnerabilities, please email [email protected].

License

This application is licensed under the MIT license.

Support

For support, email [email protected] or create an issue in the repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages