A universal platform for exchanging medical data between patients, doctors, and medical institutions, ensuring security and confidentiality of information.
MediConnect is a full-stack web application built with:
- Frontend: React with TypeScript
- Backend: Node.js/Express API
- Containerization: Docker and Docker Compose
- Patient management dashboard
- Medical records viewing
- Secure data exchange simulation
- Responsive UI with modern design
- RESTful API with mock medical data
The application is already containerized and ready to run:
- Docker and Docker Compose installed
-
Start the application (already running):
docker-compose up -d
-
Check running containers:
docker-compose ps
-
Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000
GET /- API welcome messageGET /api/patients- List all patientsGET /api/patients/:id- Get specific patientGET /api/medical-records- List all medical recordsGET /api/medical-records/patient/:patientId- Get records for a patientPOST /api/medical-records- Create new medical recordGET /health- Health check endpoint
.
├── backend/ # Node.js/Express backend
│ ├── server.js # Main server file
│ ├── package.json # Backend dependencies
│ └── Dockerfile # Backend container definition
├── frontend/ # React frontend
│ ├── src/ # React source code
│ ├── public/ # Static assets
│ ├── package.json # Frontend dependencies
│ ├── Dockerfile # Frontend container definition
│ └── nginx.conf # Nginx configuration
├── docker-compose.yml # Multi-container orchestration
└── README.md # This file
Backend:
cd backend
npm install
npm startFrontend:
cd frontend
npm install
npm start# Build backend
docker build -t mediconnect-backend ./backend
# Build frontend
docker build -t mediconnect-frontend ./frontend- This is a demonstration application with mock data
- In a production environment, implement:
- Authentication and authorization
- HTTPS encryption
- Database persistence
- Audit logging
- Data encryption at rest
For demonstration purposes only.