NotEnoughMembers

From mn/ifi/inf5750
Revision as of 20:02, 8 December 2018 by Axelhha@uio.no (talk | contribs) (Group members)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Group members

  • Axel Hansen (axelhha)
  • André Djupvik Sørensen (andreds)

Assignment

Stock Level Visualisations

Project description requirements

The application will make it possible to visualise stock level data in two different ways:

  • The time trend of the chosen stock for one organisation unit .
  • An estimate of numbers of months left of the chosen stock for a selection of organisation units.

Both will support configurable max and min stock levels, and organisation units with an estimation outside the threshold will be highlighted. An administrator should be able to set the max and min threshold as a default value, but users will have the possibility to override the values of the thresholds.

The calculations of the estimate of numbers of months left of stock is based on the average amounts of stock used in recent periods and the amount in stock this period.

(Stock available at the end of month)/average(Stock used in x recent months) = Estimated months of stock left

The app will also include an interface for selecting data elements and indicators for the analysis, so the app will be usable in different countries.

Architecture

  • React
    • As our project will mainly revolve around UI and we're both interested in learning React, this seemed like the proper choice.
  • DHIS2 Data Visualizer
    • We want to reuse as much as possible of the plugins/tools that already exists in DHIS2.
    • We ended up using React Chartjs 2 due to time limitations.

Development timeline

Date Goal Comment
05-11 Prototype
19-11 All features implemented
26-11 Final testing

Licensing

We are using React Chartjs 2 which uses the MIT license.

Division of labour

To ensure that every team member has a good knowledge of the project, each will work a little bit on everything.

As we're both new to React, this approach will also make sure that the average quality will be concise.

Usage

  • npm install
  • npm start

If you want a build in DHIS2:

  • npm run build
  • cd build
  • zip -r NAME.zip

Project repository

https://github.uio.no/NotEnoughMembers/