Skip to content

aibrahiam/Afya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AfyaDX Medical Imaging Platform

AI-Powered Radiology Analysis Platform for African Healthcare Systems

A comprehensive medical imaging platform combining advanced AI analysis with intuitive user interfaces to democratize access to high-quality radiology interpretation.

🏗️ Project Structure

AfriRad/
├── frontend/          # React + TypeScript + Vite application
└── backend/           # Node.js + Express + Prisma API server 

✅ Current Status - Phase 1 Complete

Backend Infrastructure

  • Authentication System: JWT-based auth with refresh tokens and bcrypt password hashing
  • Database Integration: PostgreSQL with Prisma ORM and complete medical imaging schema
  • API Services: RESTful endpoints with comprehensive error handling and middleware
  • Security Features: Role-based access control, rate limiting, and security headers

Frontend Application

  • Modern Stack: React 18 + TypeScript + Vite with shadcn/ui components
  • State Management: Zustand stores with persistence for Auth and Cases
  • Routing: React Router v6 with protected routes and authentication guards
  • User Interface: Login, Dashboard, Settings pages with responsive design
  • Case Management: Real-time case list with filtering, pagination, and AI analysis

Core Features Implemented

  • ✅ User authentication and session management
  • ✅ Real-time case management dashboard
  • ✅ AI-powered report analysis integration
  • ✅ Secure API endpoints with proper error handling
  • ✅ Responsive UI with modern component library
  • ✅ Database persistence with real medical data structure
  • ✅ Protected routing and role-based access

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • PostgreSQL database
  • npm or yarn package manager

Backend Setup

cd backend
npm install
cp .env.example .env  # Configure your database and JWT secrets
npx prisma generate
npx prisma db push
npm run dev

Frontend Setup

cd frontend
npm install
cp .env.example .env  # Configure API endpoint
npm run dev

The application will be available at:

📋 Development Roadmap

Development plan including:

  • Phase 2 (Weeks 5-8): Enhanced case management with file uploads and real-time collaboration
  • Phase 3 (Weeks 9-12): AI integration with medical ML models and advanced analytics
  • Phase 4 (Weeks 13-16): Production optimization, security compliance, and deployment
  • Phase 5 (Weeks 17-20): Advanced features, mobile app, and scaling infrastructure

🔧 Technology Stack

Backend

  • Runtime: Node.js with TypeScript
  • Framework: Express.js with middleware stack
  • Database: PostgreSQL with Prisma ORM
  • Authentication: JWT tokens with bcrypt password hashing
  • Security: CORS, rate limiting, input validation

Frontend

  • Framework: React 18 with TypeScript
  • Build Tool: Vite for fast development and building
  • Routing: React Router v6 with protected routes
  • State Management: Zustand for lightweight state management
  • UI Components: shadcn/ui with Tailwind CSS
  • HTTP Client: Axios with interceptors for API calls

DevOps (Planned)

  • Containerization: Docker and Docker Compose
  • CI/CD: GitHub Actions for automated testing and deployment
  • Cloud: AWS/Azure with container orchestration
  • Monitoring: Application performance and health monitoring

📊 Key Metrics & Goals

  • Performance: < 2 second page load times, < 200ms API responses
  • Security: HIPAA compliance, end-to-end encryption, comprehensive audit trails
  • Scalability: Support for 1000+ concurrent users, multi-region deployment
  • Quality: 95%+ diagnostic accuracy, 99.9% uptime target

🤝 Contributing

  1. Review the DEVELOPMENT PLAN for current priorities
  2. Check existing issues and feature requests
  3. Follow the established code style and testing patterns
  4. Submit pull requests with comprehensive testing

📝 License

This project is proprietary software developed for African healthcare systems. All rights reserved.

🏥 Medical Disclaimer

This software is intended for use by qualified medical professionals. All diagnostic decisions should be made by licensed radiologists with appropriate clinical context and training.


Last Updated: March 2026 • Version: 1.0 • Phase: 1 Complete

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors