/medthing

Everything you need to streamline your medical reporting workflow and enhance patient care, in a single platform.

Primary LanguageTypeScriptMIT LicenseMIT

MedThing

Modern Healthcare Management Platform


MedThing is a comprehensive healthcare management platform designed to streamline patient care, medical reporting, and health analytics. Built with modern web technologies, it offers an intuitive interface for healthcare professionals to manage patient data and generate AI-powered medical reports.

Features

  • 📊 Patient Dashboard - Comprehensive view of patient data with health trends
  • 📝 AI-Generated Reports - Intelligent medical reports based on patient data
  • 💊 Medication Management - Track prescriptions, dosages, and schedules
  • 📅 Appointment Scheduling - Organize and manage patient consultations
  • 📈 Health Metrics - Monitor vital signs and health trends over time
  • 🔒 Secure Authentication - Protect sensitive medical data

Quick Start

Prerequisites

  • Node.js 16+ (for frontend)
  • Go 1.18+ (for backend)
  • SQLite 3.x (for database)

Frontend Setup

bun install 
bun run dev

Backend Setup

cd server
# Configure environment (copy example .env file)
cp .env.example .env
go run main.go

🔧 Tech Stack

  • Frontend: Next.js, React, Tailwind CSS, Shadcn/UI
  • Backend: Go, Fiber, GORM
  • Database: SQLite
  • AI: Google Gemini API for report generation
  • Authentication: JWT with refresh tokens

AI-Powered Features

MedThing leverages artificial intelligence to:

  • Generate comprehensive medical reports
  • Analyze health trends and patterns
  • Provide treatment recommendations
  • Identify potential medication interactions

Contributing

Contributions are welcome! Check out our Contributing Guidelines to get started.

License

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

Acknowledgments

Environment Variables

Backend Environment Variables

Create a .env file in the server directory with the following variables:

PORT=8000
GENAI_API_KEY=your-google-ai-studio-api-key
JWT_SECRET=your-secret-key-change-in-production
ENV=development
CORS_ORIGIN=http://localhost:3000

Frontend Environment Variables

Create a .env.local file in the root directory with the following variables:

NEXT_PUBLIC_API_URL=http://localhost:8000/api