I build a JHA web app with a python backend and a javascript front end. It uses a MySQL database. The application is containerized with docker.
Run the docker compose:
docker compose builddocker compose up- View at http://localhost
The front end consists of a single page application, formatted with bootstrap CSS and using javascript to simulate page routing and interface with the API.
The back end is written in python, using the flask library. The app package and routes subpackage organize the flask server to allow it to respond to requests from the front end.
I chose to use MySQL as my storage system. I chose to give each table a primary key and require the foreign keys. This allowed for cleaner automatic deletion management while still enforcing the hierarchical relationships.
