Skip to content

knowledge hub dashboard, insight and information searching

Notifications You must be signed in to change notification settings

Unilever-Digital/knowledge-hub

Repository files navigation

Knowledge-hub is designed to serve as a centralized knowledge hub. It leverages various technologies to deliver a user-friendly and informative experience.

Tech Stack

  • Frontend: JavaScript HTML5 CSS3 Bootstrap
  • Backend: FlaskPython (indicated by main.py in the Test section)

python-version: python

Clone the repository

    git clone https://github.com/Unilever-Digital/knowledge-hub

Installation

  • Install required dependencies:

      python -m venv env
    
      env\Scripts\activate.bat
      # or source env/bin/activate
    
      pip install -r requirements.txt
    

Test on Local server

  • Testing local server runing:

      python main.py
    
  • Testing with guricon server (for Mac):

      gunicorn -c instance/config.py wsgi:app
    

Access the API endpoints at http://localhost:8080 by default.

Source

.
├── instance                  # config backend server
├── public                    # public icon/image source file
│   └── favicon.ico
├── sqlite
│   └── .db                   # database file
│   └── ...
├── src
│   └── controls
│       └── controls          # utils of every single page
│       └── query             # connection info for 2nd server database
│       └── ..
│   └── models
│   └── static                # public folder
│     └── images              # image used by default template
│         └── png
│         └── jpg
│         └── svg
│     └── css
│     └── js
│   └── templates             # template ui 
│   └── views                 # endpoint API
│   └── env.py
├── test                      # test root
├── .gitignore
├── .python-version           # python version define file
├── config.py                 # config backend server file
├── Dockerfile                # Dockerfile
├── docker-compose.yml        # docker-compose configuration
├── main.py                   # running file
├── package.json              # config file
├── Procfile                  # config file for running in Gunicorn server
├── README.md                 # README file
├── requirements.txt          # list python lib file
└── ...                       # Other configuration files (prettier, ignore files,...)

Features

Interactive Dashboard:

  • DEOC Trend: Visualize trends in DEOC (Defect Elimination on Concept) data.
  • DEOC Top Defect: Identify the most prevalent DEOC defects.
  • LINE Trend: Track trends in LINE data (unspecified in the prompt).
  • SKU Trend: Analyze trends for Stock Keeping Units (SKUs).

Insights

  • Gain valuable insights from the data.

Safety Chat

  • Access safety information.
  • Receive safety advice.

Mashup

image Screenshot 2024-04-20 at 19 26 39 Screenshot 2024-04-20 at 19 26 35

Contributors

License

This project is licensed under the MIT License.

Support

For support or inquiries, please contact [email protected].