A comprehensive healthcare patient portal system built with modern web technologies and AWS cloud services.
This monorepo contains all components of the Patient Portal system:
patient-portal-monorepo/
βββ apps/ # Applications
β βββ frontend-app/ # React TypeScript frontend
β βββ backend-api/ # Node.js/Python backend API
βββ packages/ # Shared packages
β βββ database-schema/ # Database schemas and migrations
β βββ infrastructure/ # AWS CDK/CloudFormation IaC
βββ docs/ # Documentation and organization
βββ scripts/ # Build and deployment scripts
βββ .github/workflows/ # CI/CD workflows
- Node.js 18+
- npm 9+
- AWS CLI configured
- Docker (for local development)
# Clone the repository
git clone https://github.com/patient-portal-demo/patient-portal-monorepo.git
cd patient-portal-monorepo
# Install all dependencies
npm install
# Start development servers
npm run dev:frontend # Frontend on http://localhost:3000
npm run dev:backend # Backend API on http://localhost:8000apps/frontend-app/- React TypeScript frontend applicationapps/backend-api/- Backend API services
packages/database-schema/- Database schemas, migrations, and modelspackages/infrastructure/- AWS infrastructure as code (CDK/CloudFormation)
docs/- Project documentation, architecture diagrams, and organization materials
# Development
npm run dev:frontend # Start frontend dev server
npm run dev:backend # Start backend dev server
# Building
npm run build # Build all workspaces
npm run build:frontend # Build frontend only
npm run build:backend # Build backend only
# Testing
npm run test # Run tests in all workspaces
npm run lint # Lint all workspaces
# Infrastructure
npm run deploy:infrastructure # Deploy AWS infrastructure
npm run db:migrate # Run database migrations- Personalized health overview
- Upcoming appointments summary
- Recent lab results with status indicators
- Current medications list
- Health alerts and notifications
- View upcoming and past appointments
- Appointment details with provider information
- Appointment status tracking
- Rescheduling capabilities
- Interactive results viewer with trend analysis
- Normal range indicators and explanations
- Historical data visualization
- Downloadable reports
- Current prescriptions with dosage information
- Medication instructions and side effects
- Refill reminders and status
- Drug interaction warnings
- Secure messaging system with healthcare providers
- Message threading and organization
- File attachment support
- Framework: React 18 with TypeScript
- State Management: Redux Toolkit + RTK Query
- UI Library: Material-UI (MUI) v5
- Build Tool: Vite
- Runtime: Node.js/Python
- Database: PostgreSQL/DynamoDB
- API: REST/GraphQL
- Authentication: AWS Cognito
- Cloud: AWS
- IaC: AWS CDK
- CI/CD: GitHub Actions
- Monitoring: CloudWatch
npm run build
npm run deploy:infrastructureDeployments are automated via GitHub Actions on push to main branch.
- Application Monitoring: AWS CloudWatch
- Error Tracking: AWS X-Ray
- Performance: CloudWatch Insights
- Security: AWS Security Hub
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue in this repository
- Check the documentation in the
docs/folder - Contact the development team
Note: This is a healthcare application. Ensure HIPAA compliance and proper security measures are in place before handling real patient data.