Simple proof-of-concept webapp. Hug provides API endpoint onto SOBI database, Flask renders HTML from templates and results of website calls.
Example result: example_999.html
pip install -r requirements.txt
Start database API (on port 8000)
ORACLE_PASSWORD=somesecretpassword hug -f endpoint.py
Example query:
curl localhost:8000/borehole/1234
Start webapp (on port 5000)
FLASK_APP=app.py flask run
Navigate to http://localhost:5000/borehole/1234.