Modern telemedicine platform for virtual consultations and health monitoring.
Issues
- Table of Contents
- Introduction
- Features
- Architecture
- Getting Started
- Other links
- Contributing
- License
- Contact
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.
- 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.
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.
- Next.js (frontend and backend)
- Postgres (database)
- Redis (cache)
- Better Auth (authentication)
- Tailwindcss (styles)
- Shadcn (components)
- Payload (cms)
- Trigger.dev (background jobs)
- Betterstack (logs)
- OpenPanel (observability)
- Stream (video-chat)
- Resend (email)
- Anthropic (AI)
- Polar (Payments)
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)
-
Clone the repository:
git clone https://github.com/your-username/healthcare-portal.git cd healthcare-portal -
Install dependencies:
npm install
-
Set up environment variables:
Create a
.envfile 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
-
Run the development server:
npm run dev -w $appOpen http://localhost:$port with your browser to see the result.
Helsa is designed to be deployed on Vercel, but you can deploy it on any platform that supports Node.js.
-
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.
This project is licensed under the MIT License.
For any questions or inquiries, please contact us at support@healthcareportal.com.