Skip to content

HealthScan - Document Management & OCR Platform Full-stack document management with OCR capabilities. React web client, React Native mobile app, FastAPI backend. Upload documents, organize collections, extract text, generate QR codes. Features authentication, responsive design, PDF generation. Built with React, React Native, Python FastAPI.

Notifications You must be signed in to change notification settings

aneeshsunganahalli/HealthScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

409 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-Stack Application

A modern web application with a React (Vite) frontend and FastAPI backend.

Project Structure

project-root/
├── client/            # React (Vite) frontend
│   ├── public/
│   ├── src/
│   ├── package.json
│   └── vite.config.js
├── server/            # FastAPI backend
│   ├── app/
│   │   ├── __init__.py
│   │   ├── main.py
│   │   ├── models/
│   │   ├── routes/
│   │   └── utils/
│   ├── requirements.txt
│   └── .env
└── README.md

Prerequisites

Installation

Clone the Repository

git clone https://github.com/aneeshsunganahalli/ProjectSunga.git
cd your-project-name

Backend Setup (FastAPI)

  1. Navigate to the server directory:
cd server
  1. Create a virtual environment:
# Windows
python -m venv venv
venv\Scripts\activate

# macOS/Linux
python3 -m venv venv
source venv/bin/activate
  1. Install the dependencies:
pip install -r requirements.txt
  1. Create a .env file in the server directory (if not already present):
DATABASE_URL=your_database_url
SECRET_KEY=your_secret_key
ENVIRONMENT=development
  1. Start the FastAPI server:
# Development mode with auto-reload
uvicorn app.main:app --reload --port 8000

# Or if you have a specific entry point defined
python -m app.main

The API will be available at http://localhost:8000. API documentation is automatically available at:

  • Swagger UI: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

Frontend Setup (React - Vite)

  1. Navigate to the client directory:
cd client
  1. Install dependencies:
# Using npm
npm install

# Or using yarn
yarn
  1. Create a .env file in the client directory (if needed):
VITE_API_URL=http://localhost:8000
  1. Start the development server:
# Using npm
npm run dev

# Or using yarn
yarn dev

The React application will be available at http://localhost:5173 (or another port if 5173 is in use).

About

HealthScan - Document Management & OCR Platform Full-stack document management with OCR capabilities. React web client, React Native mobile app, FastAPI backend. Upload documents, organize collections, extract text, generate QR codes. Features authentication, responsive design, PDF generation. Built with React, React Native, Python FastAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •