Logo Lanfrica

DrTech504/effective-potato

Domain:

healthcare

Record type:

software
Creator:
DrT
Host:
Backend for CareLink Zambia MVP # CareLink Zambia MVP - Healthcare Gig Platform A comprehensive healthcare staffing platform connecting healthcare providers with medical facilities in Zambia. ## πŸš€ Features ### Core Functionality - **Gig Application Workflow**: Complete end-to-end application process - **Role-Based Access Control**: Separate interfaces for clinics and healthcare providers - **Real-time Notifications**: Instant updates on application status changes - **Application Management**: Accept/reject applications with audit logging - **Dashboard Analytics**: Comprehensive stats and insights for clinics ### Security & Performance - JWT-based authentication with role-based authorization - Rate limiting and input validation - Audit logging for all critical actions - Responsive design for mobile and desktop - Error handling and user feedback throughout ## πŸ—οΈ Architecture ### Backend (Node.js/Express) ``` backend/ β”œβ”€β”€ controllers/ β”‚ └── applicationController.js # Application management logic β”œβ”€β”€ middleware/ β”‚ └── auth.js # Authentication & authorization β”œβ”€β”€ models/ β”‚ └── Application.js # Application data model β”œβ”€β”€ routes/ β”‚ └── applications.js # API endpoints └── server.js # Main server file ``` ### Frontend (React) ``` frontend/src/ β”œβ”€β”€ components/ β”‚ β”œβ”€β”€ Applications.jsx # Application management interface β”‚ β”œβ”€β”€ GigDetail.jsx # Gig details with application status β”‚ β”œβ”€β”€ Navbar.jsx # Navigation component β”‚ └── NotificationSystem.jsx # Real-time notifications β”œβ”€β”€ hooks/ β”‚ β”œβ”€β”€ useApplications.js # Application management logic β”‚ └── useAuth.js # Authentication logic β”œβ”€β”€ pages/ β”‚ └── ClinicDashboard.jsx # Clinic dashboard with analytics └── utils/ β”œβ”€β”€ api.js # API configuration └── helpers.js # Utility functions ``` ## πŸ“‹ API Endpoints ### Application Management - `POST /api/applications/gigs/:gigId/apply` - …