viewer package extracted by moving every template and static resource into it
editor package not (yet, or ever) extracted
the auth.py file relies on a config.py in the base directory, which, perhaps is... wrong. It looks a little like a Flask Blueprint, which could be using (after some changes to the app) current_app to find its config. In order to keep the application working, able to start and function, this PR currently duplicates that file into the viewer package.
This PR is one of many with the end goal of adding pytest tests to this project.
To get there, this PR starts to use Python packages and some other Flask patterns to make it possible to write automated tests.
The steps taken can be learned about in this Flask documentation article; https://flask.palletsprojects.com/en/3.0.x/patterns/packages/#simple-packages
Details
viewer
package extracted by moving every template and static resource into itFuture