Skip to content

upstackpilot0710/healthcare-portal-app

Healthcare Portal

Modern telemedicine platform for virtual consultations and health monitoring.

Issues

Table of Contents

Introduction

Welcome to Healthcare Portal, a cutting-edge telemedicine platform designed to connect patients and healthcare providers seamlessly. Healthcare Portal offers a modern and intuitive interface for virtual consultations, health monitoring, and medical record management.

This repository contains both, backend, frontend and mobile source code, destined to manage all main features of the platform.

Features

  • Virtual Consultations: Secure video conferencing between patients and healthcare providers.
  • Health Monitoring: Track and record vital health metrics.
  • Medical Record Management: Secure storage and easy access to patient medical histories.
  • User Authentication: Secure login and user management system.
  • Responsive Design: Optimized for both desktop and mobile devices.
  • Modern UI/UX: Based on the color scheme with hexadecimal code #8167EC.

Architecture

Healthcare Portal is built using a modern tech stack that includes Next.js, Supabase, Prisma, and Trigger.dev. The frontend is built with Next.js, while the backend is also built with Next.js and uses Supabase for the database and Prisma for ORM. Trigger.dev is used for background jobs, and Better-auth is used for authentication.

Tech Stack

Hosting

Services

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v16.x or later)
  • npm or yarn
  • PostgresQL (for local development)
  • Docker (optional, for containerized setup)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/healthcare-portal.git
    cd healthcare-portal
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    Create a .env file for each app:

     NODE_ENV=development
     PORT=3000
     NEXT_PUBLIC_BASE_URL=http://localhost:3000
    
     DATABASE_URL="postgresql://postgres:123456@localhost:6543/postgres"
     DIRECT_URL="postgresql://postgres:123456@localhost:6543/postgres"
    
     UPSTASH_REDIS_REST_TOKEN=your-upstash-token
     UPSTASH_REDIS_REST_URL=https://subdomain.upstash.io
    
     VOYAGE_API_KEY=your-voyage-key
     ANTHROPIC_API_KEY=your-anthropic-key
    
     RESEND_API_KEY=your-resend-key
    
     BETTER_AUTH_SECRET="secret-phrase"
    
     FACEBOOK_CLIENT_SECRET=facebook-secret
     FACEBOOK_CLIENT_ID=facebook-client-id
     GOOGLE_CLIENT_SECRET=google-secret
     GOOGLE_CLIENT_ID=google-client-id
    
     TRIGGER_SECRET_KEY=trigger-secret-key
     TRIGGER_PROJECT_ID=trigger-project-id
    
     NEXT_PUBLIC_STREAM_CLIENT_SECRET=stream-secret
     NEXT_PUBLIC_STREAM_CLIENT_KEY=stream-key
    
     NEXT_PUBLIC_OPENPANEL_CLIENT_ID=open-panel-key
     NEXT_PUBLIC_OPENPANEL_CLIENT_SECRET=open-panel-secret
    
     BETTER_STACK_API_KEY=better-stack-key
     BETTER_STACK_URL=https://in.logs.betterstack.com
     LOGTAIL_SOURCE_TOKEN=logtail-token
    
     NEXT_PUBLIC_SUPABASE_URL=https://subdomain.supabase.co
     NEXT_PUBLIC_SUPABASE_KEY=supabase-key
    
     DEEPSEEK_API_KEY=deepseek-key
    
  4. Run the development server:

    npm run dev -w $app

    Open http://localhost:$port with your browser to see the result.

Deployment

Helsa is designed to be deployed on Vercel, but you can deploy it on any platform that supports Node.js.

  1. Deploy to Vercel:

    • Sign in to your Vercel account.
    • Link your repository and import your project.
    • Set up the environment variables in the Vercel dashboard.
    • Deploy your project.

Docs

Other links

Contributing

License

This project is licensed under the MIT License.

License

Contact

For any questions or inquiries, please contact us at support@healthcareportal.com.

About

Telemedicine and Healthcare SaaS Platform for Virtual Consultations, Health Monitoring & Medical Record Management.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages