PrefCard
A multi-tenanted app and api for the medical industry.
The project
Medibite is a Newcastle startup focused on the health sector. They approached Headjam with an idea for an app that would help hospitals, nurses, and staff prepare equipment for surgeries and streamline their workflow.
The main challenge of the PrefCard system was its multi-tenanted nature - each hospital needed to be able to maintain its own database of equipment and staff. Additionally, many medical professionals worked at multiple hospitals in the PrefCard network, meaning we needed to develop the system in such a way that doctors or nurses didn't have to set up a new account for each hospital they might be working at.
The tech
The multi-tenanted nature of the PrefCard system meant that a robust API was essential for future proofing. We therefore developed a REST API that allowed hospitals and admin users to easily maintain lists of equipment and staff via a bespoke Application Management System (AMS), which could then be consumed by the end-users of the client app. By choosing Node.js as the basis of our backend system, we were able to develop all three products - app, AMS, and API - in Javascript.
- Frontend: Vue.js / Cordova
- Backend: Loopback / Node.js
The fun
The best part of this project was untangling the web of relationships between the various user groups of the PrefCard system. No less than five user groups were identified, and developing the appropriate authentication, authorisation, and access control systems for the system was incredibly fun.