Logo Lanfrica

ICTatRTI/coconut-mobile-plugin-zanzibar

Domain:

digital infrastructure
Creator:
ICT
Host:
Plugins added to Coconut Mobile for project specific features # coconut-mobile-plugin-zanzibar *** This repo was archived on 12-03-2025 *** Plugins added to Coconut Mobile for project specific features Coconut Mobile provides the core features for a Coconut based project. Additional features required by a project are added by a plugin. Find the README file in the _attachments directory for deployment instructions. What this plugin provides ------------------------- - GeoHierarchy - code for using and manipulating the geographic hierarchy of Zanzibar (Zones have districts, districts have shehias..., etc) - FacilityHierarchy - management of the facility list - Case - used to combine multiple results together into a single case (Notification + Facility Record + Household data = Case) Coconut Mobile Plugin Architecture Described -------------------------------------------- Coconut plugins are couchdb design documents that get packaged into a single js file (perhaps a single css file as well) and then pushed into the couchdb database for that project. For instance the cloud instance for the project "atlantis-ebola" might be found at cococloud.co. The plugin should then exist at cococloud.co. Then during installation or updating of the project "atlantis-ebola" on mobile.cococloud.co, the plugin file(s) will be replicated and eval'd during application initiation.