Skip to content

pro-softs/medstruct

Repository files navigation

MedStruct Frontend

MedStruct is a web application that transforms handwritten medical notes into structured patient data using OCR and AI technology.

Features

  • Upload handwritten notes (PDF or images)
  • Process and convert to structured SOAP notes
  • Pay-per-result pricing model (₹25 / $0.25 per result)
  • Download results in multiple formats (JSON, CSV, PDF)
  • Track usage and billing history

Installation

Prerequisites

  • Node.js 18.x or higher
  • npm 9.x or higher

Setup

# Install dependencies
npm install

# Run the development server
npm run dev

# Build for production
npm run build

# Start the production server
npm start

Environment Variables

Create a .env.local file with the following variables:

# API Configuration
NEXT_PUBLIC_API_URL=https://api.medstruct.example.com

# Payment Gateway (to be added)
NEXT_PUBLIC_PAYMENT_API_KEY=your_payment_api_key

Project Structure

├── app/                  # Next.js app directory
│   ├── dashboard/        # Dashboard and authenticated routes
│   ├── login/            # Login page
│   ├── signup/           # Signup page
│   └── ...
├── components/           # Reusable components
│   ├── layout/           # Layout components
│   └── ui/               # UI components
├── lib/                  # Utility functions
├── public/               # Static assets
└── ...

License

Copyright © 2025 MedStruct, Inc.

About

MedStruct is a web application that transforms handwritten medical notes into structured patient data using OCR and AI technology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors