Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 1.59 KB

README.md

File metadata and controls

76 lines (48 loc) · 1.59 KB

MEDFI Emergency Response Backend

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.

Getting Started

Prerequisites

Make sure you have the following installed:

Setting Up the Backend

  1. Clone the repository:

    https://github.com/shashaaankkkkk/Medfi-Backend.git
    cd Medfi-Backend
  2. Set up the virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Linux/Mac
    venv\Scripts\activate     # On Windows
  3. Install Django and other dependencies:

    pip install -r requirements.txt
  4. Run database migrations:

    python manage.py migrate

Project Structure

  • medfi_backend/: Django backend code.

Running the Application

  1. Navigate to the medfi_backend directory:

    cd medfi_backend
  2. Activate the virtual environment:

    source venv/bin/activate  # On Linux/Mac
    venv\Scripts\activate     # On Windows
  3. Run the development server:

    python manage.py runserver
  4. Access the Django admin interface at http://127.0.0.1:8000/.

Contributing

If you would like to contribute to the backend, please follow the contributing guidelines.

License

This backend is licensed under the MIT License.