The Online Backend is implemented in Django (in Python programming language).

Django is used for:

Django is NOT used to build user interfaces (i.e. the Django Templates are not used).

Instead, a REST interface is built on top of the services/models via Django REST Framework, with the JSON Api extension 

The Django REST Framework

The JSON Api extension of the Django REST Framework, is dedicated to provide an interface compliant with the {json:api} standard

Under consideration: the implementation of a GraphQL, using Graphene.

Modularity

Desired modularity will be achieved by combining two techniques:

Security

The backend security is based on django (django REST framework) default mechanisms, that have been configured/customized in 3 main areas:

Note: the backend must be run behind a gateway.

The security models and concepts describe the core elements of the backend security.

Special notices highlight the important aspects related to the various (security-related) actors of an openIMIS concrete implementation:

Testing

Backend modules are unittested via python/django classic unit test framework.

Test coverage is gathered by continuous build (via travis-ci) and reported on codeclimat

To register a module for code coverage and metrics:

The behave python library is shipped with openIMIS backend, so that gherkin can be used for more functional testing.

Documentation and Tutorials

(official) Django documentation is very complete and is clearly THE privileged source of information.

Some other material of interest:

To setup a development environment, the use of pip, pipenv and virtualenv is highly recommended, please visit https://docs.python-guide.org/dev/virtualenvs/ for detailed information.