Skip to content

Django-based web application that serves as a health catalog for medications and diseases

Notifications You must be signed in to change notification settings

Kaluzhskaia/knowledge_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health Knowledge Base ๐Ÿ’Š

Description

This is a Django-based web application that serves as a health catalog for medications and diseases. Users can browse the list of medications and diseases, see detailed information for each, and search using filters.

Features

  • List medications
  • Medication details, including diseases it can treat
  • List diseases
  • Disease details, including medications for treatment
  • Search medications and diseases using django-filters
  • Pagination for easier navigation

Technologies Used

  • Python 3.x
  • Django 3.x
  • SQLite (default Django database)
  • django-filters for search capabilities

Installation

Prerequisites

  • Python 3.x
  • Pip
  • Virtualenv (optional but recommended)

Setup

  1. Clone the repository:

    git clone https://github.com/kaluzhskaia/knowledge_base.git
  2. Navigate to the project directory:

    cd knowledge_base
  3. Create a virtual environment (optional):

    virtualenv venv

    Activate the virtual environment:

    • On Windows:

      .\\venv\\Scripts\\activate
    • On macOS and Linux:

      source venv/bin/activate
  4. Install the requirements:

    pip install -r requirements.txt
  5. Run the migrations:

    python manage.py migrate
  6. Load the data into the database:

    python manage.py load_health_data your_json_file.json
  7. Start the development server:

    python manage.py runserver

    The application should be available at http://127.0.0.1:8000/.

Usage

  • Navigate to /medications/ to view a list of medications. You can use the search bar to filter the medications based on their name or description.
  • Navigate to /diseases/ to view a list of diseases. Use the search bar to filter the diseases by name.
  • Pagination controls are available at the top and the bottom of medication and disease lists.

Screenshots

image image

About

Django-based web application that serves as a health catalog for medications and diseases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published