MedicApp is a comprehensive healthcare management system designed to streamline patient and doctor management. The system allows healthcare administrators to efficiently manage patient records, doctor registrations, and program assignments.
-
Patient Management
- Register and manage patient information
- Track patient programs and categories
- Update patient details and program assignments
- Search and filter patient records
-
Doctor Management
- Register new doctors with automated credential management
- Email-based verification system
- Track doctor specializations and status
- Manage doctor verification and activation
-
Program/Category Management
- Create and manage healthcare programs
- Assign patients to multiple programs
- Track program participation
-
Administrative Features
- Secure authentication system
- Role-based access control
- Dashboard with key statistics
- Email notifications for important actions
- Django REST Framework
- Python 3.x
- JWT Authentication
- PostgresQL Database
- React.js with Vite
- Tailwind CSS
- Headless UI Components
- Axios for API integration
- Python 3.x
- Node.js and npm
- Git
-
Navigate to the backend directory:
cd Backend_n_apis/MedicApp -
Create a virtual environment and activate it:
python -m venv myenv source myenv/bin/activate # On Windows: myenv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables: Create a
.envfile in the MedicApp directory with:SECRET_KEY=your_secret_key DEBUG=True AdminCreds=your_admin_credentials -
Run migrations:
python manage.py migrate
-
Start the backend server:
python manage.py runserver
-
Navigate to the frontend directory:
cd Frontend/MAFrontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The backend provides RESTful APIs for:
- POST
/backendapi/login/- User login - POST
/backendapi/register/- User registration - POST
/backendapi/register-doc/- Doctor registration
- GET, POST
/backendapi/patient/- List/Create patients - GET
/backendapi/patient/<id>/- Get patient details - POST
/backendapi/patient/<id>/credentials/- Update patient details
- GET, POST
/backendapi/doctors/- List/Create doctors - POST
/backendapi/doctors/<id>/verify/- Verify doctor account - GET
/backendapi/doctors/stats/- Get doctor statistics
- GET, POST
/backendapi/categories/- List/Create categories - PUT, DELETE
/backendapi/categories/<id>/- Update/Delete category
- JWT-based authentication
- Password hashing
- Role-based access control
- Secure email notifications
- Input validation and sanitization
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
- Created by FranFreezy
- Built with Django REST Framework and React
- UI components from Headless UI and Tailwind CSS