Skip to content

25Rohit25/NeuraAxis

Repository files navigation

NEURAXIS 🧠

AI-Powered Medical Diagnosis Platform

Built with Turborepo Next.js FastAPI TypeScript Python


πŸ“‹ Overview

NEURAXIS is a cutting-edge medical diagnosis platform that leverages artificial intelligence to assist healthcare professionals in making accurate, timely diagnoses. Built as a modern monorepo, it combines the power of Next.js for a responsive frontend with FastAPI-powered AI services on the backend.

Key Features

  • πŸ”¬ AI-Powered Diagnostics - Advanced ML models for medical image analysis and symptom assessment
  • πŸ₯ HIPAA Compliant - Enterprise-grade security and audit logging
  • ⚑ Real-time Updates - WebSocket-based live notifications and updates
  • πŸ“Š Analytics Dashboard - Comprehensive insights and reporting
  • πŸ” Multi-tenant Architecture - Support for multiple healthcare organizations

πŸ—οΈ Architecture

neuraxis/
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ web/                 # Next.js 15 Frontend
β”‚   └── docs/                # Documentation site
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ ui/                  # Shared React components
β”‚   β”œβ”€β”€ shared-types/        # TypeScript type definitions
β”‚   β”œβ”€β”€ utils/               # Common utilities
β”‚   └── config/              # Shared configurations
β”œβ”€β”€ services/
β”‚   └── ai-service/          # FastAPI AI/ML service
β”œβ”€β”€ docker/                  # Docker configurations
└── infrastructure/          # IaC and deployment configs

πŸš€ Quick Start

Prerequisites

  • Node.js >= 18.0.0
  • Python >= 3.11
  • Docker & Docker Compose
  • pnpm or npm >= 9.0.0

Installation

  1. Clone the repository

    git clone https://github.com/your-org/neuraxis.git
    cd neuraxis
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp .env.example .env
    # Edit .env with your configuration
  4. Start infrastructure services

    npm run docker:up
  5. Run development servers

    npm run dev

Access Points

Service URL
Frontend http://localhost:3000
API Docs http://localhost:8000/docs
pgAdmin http://localhost:5050
Redis Commander http://localhost:8081

πŸ“¦ Workspaces

Apps

Package Description
@neuraxis/web Main Next.js 15 frontend application
@neuraxis/docs Documentation and API reference site

Packages

Package Description
@neuraxis/ui Shared React component library
@neuraxis/shared-types TypeScript types and interfaces
@neuraxis/utils Common utility functions
@neuraxis/config Shared ESLint, TypeScript, Tailwind configs

Services

Package Description
ai-service FastAPI backend for AI/ML processing

πŸ› οΈ Development

Available Scripts

# Development
npm run dev          # Start all services in development mode
npm run build        # Build all packages
npm run lint         # Lint all packages
npm run test         # Run all tests
npm run type-check   # TypeScript type checking

# Docker
npm run docker:up    # Start infrastructure services
npm run docker:down  # Stop infrastructure services
npm run docker:logs  # View service logs

# Database
npm run db:migrate   # Run database migrations
npm run db:seed      # Seed database with sample data

# Formatting
npm run format       # Format all files with Prettier
npm run format:check # Check formatting without changes

Turborepo Commands

# Run a specific task
npx turbo run build --filter=@neuraxis/web

# Run with verbose output
npx turbo run dev --verbosity=2

# Generate dependency graph
npx turbo run build --graph

🐳 Docker

Development Environment

# Start all services
docker-compose up -d

# Start with optional tools (pgAdmin, Redis Commander)
docker-compose --profile tools up -d

# Start with S3-compatible storage (MinIO)
docker-compose --profile storage up -d

# View logs
docker-compose logs -f backend

Service Profiles

Profile Services Included
(default) postgres, redis, frontend, backend
tools + pgAdmin, Redis Commander
storage + MinIO

πŸ”’ Security & Compliance

NEURAXIS is designed with healthcare compliance in mind:

  • HIPAA Compliance - Audit logging, data encryption, access controls
  • SOC 2 Ready - Security best practices implemented
  • Data Encryption - At-rest and in-transit encryption
  • Role-Based Access Control - Fine-grained permissions

πŸ“š Documentation


🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is proprietary software. All rights reserved.


πŸ‘₯ Team

Built with ❀️ by the NEURAXIS Team


Transforming Healthcare with AI

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published