Hospital Nurse Mediator is a Django-based web application that facilitates communication and coordination between hospitals, nurses, and mediators. It provides a platform for managing user accounts, scheduling, and information exchange.
- User registration and authentication
- User roles and permissions management (Hospitals, Nurses, Mediators)
- Hospital account management
- Nurse account management
- Mediator account management
- Schedule management
- Information exchange and communication between users
-
Clone the repository:
git clone https://github.com/manishkrojha0/Hospital_Nurse_Mediator.git
-
Navigate to the project directory:
cd Hospital_Nurse_Mediator
-
Create and activate a virtual environment:
python -m venv myenv source myenv/bin/activate or myenv/Scripts/activate
-
Install the project dependencies:
pip install -r requirements.txt
-
Apply database migrations:
python manage.py migrate
-
Test cases
python manage.py test
-
Deployment
- Deployed the project on render.
- Deployment base url -
https://mydoc.onrender.com
- Refer the Postman API collections to understand the apis.
- The Hospital Nurse Mediator API provides endpoints for managing users in a healthcare system, including hospitals, nurses, and mediators. This documentation describes the available API endpoints, their request/response formats, and authentication requirements.
- The base URL for all API endpoints is: https://mydoc.onrender.com
- Authentication is required to access most of the API endpoints. The API uses token-based authentication. To authenticate, include the token in the Authorization header of each request.
Authorization: Bearer <access_token>
- curl this url in your postman or simply paste this url - https://rb.gy/co6c2
- Follow these steps to dockerise.
- Docker: Install Docker
- Docker Compose: Install Docker Compose
- Clone the repository to your local machine:
git clone https://github.com/manishkrojha0/Hospital_Nurse_Mediator.git
- Navigate to the project directory:
cd Hospital_Nurse_Mediator
- Build the Docker image:
docker build -t hospital-nurse-mediator .
- Run the Docker container:
docker run -d -p 8000:8000 hospital-nurse-mediator
- Access the application: Open your web browser and visit http://localhost:8000 to access the Hospital Nurse Mediator application.
- Django
- Django REST Framework
- Simple JWT
- PostgreSQL
For any questions, issues, or inquiries, please contact [email protected].
Feel free to customize the README file based on your project's specific details, including any additional sections or information you'd like to include.