The MEDFI Emergency Response Backend is the server-side component of the MEDFI Emergency Response Platform. It manages emergency incidents, user authentication, location services, and other core functionalities.
Make sure you have the following installed:
Screen.Recording.2025-01-09.at.7.10.54.PM.mp4
-
Clone the repository:
https://github.com/shashaaankkkkk/Medfi-Backend.git cd Medfi-Backend -
Set up the virtual environment:
python -m venv venv source venv/bin/activate # On Linux/Mac venv\Scripts\activate # On Windows
-
Install Django and other dependencies:
pip install -r requirements.txt
-
Run database migrations:
python manage.py migrate
medfi_backend/: Django backend code.
-
Navigate to the
medfi_backenddirectory:cd medfi_backend -
Activate the virtual environment:
source venv/bin/activate # On Linux/Mac venv\Scripts\activate # On Windows
-
Run the development server:
python manage.py runserver
-
Access the Django admin interface at http://127.0.0.1:8000/.
If you would like to contribute to the backend, please follow the contributing guidelines.
This backend is licensed under the MIT License.