TECHNOLOGY/TOOLS UTILISED IN BUILDING THE WEBSITE
Data for MCHBI is collected and edited in a master offline Microsoft Access database application written and maintained by the Project Coordinator, and is easily uploaded via export of Excel spreadsheets which are then uploaded to the MCHBI mapping module CMS. This in turn feeds it into a PostgreSQL database that the mapping module uses. The MCHBI mapping module, which consists of a web application and a database, are accessed through the regular BNS website, but reside on a separate server for architectural reasons. In constructing the online tool the following should be noted:
The Way Ahead?
In the future, if it is decided to share MCHBI data with other systems, then we may develop a RESTful API (as per nomisma.org) to allow the sharing of the systems information with other systems, for which, we will publish the interface through the use of the OpenAPI Specification & Swagger UI. This will allow other developers to know how to integrate with the API, in an easily human-digestable manner. A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services. REST stands for representational state transfer).
Documentation of the API would be through the creation and publishing of a document adhering to the OpenAPI specification. This document will also then be used with Swagger UI to present the documentation through a web interface. Other developers can download this document to use with other tools like Redoc and Swagger Codegen in order to view the information in a different manner and programmatically generate stub code, respectively. This would allows BNS data to be shared with other systems such as NOMISMA.