I have a web/full-stack background and joined the Combacal research group (combacal.org) to write my Master Thesis. The project has been running for a while now (in software time), and as the study is about to incorporate a new study branch, I asked myself some questions. Should some of them be obsolete, please hint me at them :).
The app config is in JS and Angular1, and I was wondering whether there were Apps already running on something newer. Our codebase has been passed from student to student, and together with the elderly framework, the definition via Excel, and the missing support that TS could offer, is a bit cumbersome to maintain…
Would this be something that more people could use? And am I overlooking something that would prevent a simpler app to be built (except for someone to build it)? I imagine something like React (with Router) in TS, using PouchDB similar to Redux or Zustand, with a manifest to make it a PWA. Of course, there would be tinkering needed to get it to harmonise with core, but… It would be so much easier to make adjustments in the future.
You’re perfectly right, our Admin app is written in AngularJs (or Angular 1, as some call it), as this was the first framework that we used for development.
Our client app, Webapp, has been refactored to use Angular and TS and now runs Angular 17.
Prior to the migration to Angular, AdminApp and Webapp shared services, so I’m imagining that, when we migrate AdminApp to a newer framework, it will be Angular, so we can revert to sharing services and have less code to maintain.
I also believe AdminApp is designed to be used in the desktop browser, and not on mobile, and is only intended to be used when having an internet connection.
So I’m not sure if there are real advantages to making it a PWA.
Thanks for your repy! I might have been a bit unspecific: I meant the Application that is served to Health workers, so everything within the config folder. From what I saw in our project and in the examples on cht-core/config/* on GitHub, those frontend-ish applications are still using AngularJS. So in that regard: Is there a setup routine for apps using something newer? Or am I the only one that would wish for a simpler code repository?
The config should not have any frontend framework. That code gets compiled by cht-conf and serves as configuration for the installation, so it never makes it to the server in the form that you have it in your folder. It gets used by both frontend and backend.