-
Notifications
You must be signed in to change notification settings - Fork 11
UPE Big Little Database Design
Huy Tran edited this page Nov 15, 2022
·
1 revision
- Status: In Progress
The UPE Website will be getting Big-Little data from a database instead of manually putting in Big-Little pairs.
Eliminate the need to manually put in data to the Family Tree.
- Too much manual work to display Big-Little pairs. Currently, we would have to add the data to "famtree.txt" and then run "fam_generator.py" to convert to JSON. If we just have the data in a SQL database and get the output from the UPE API, then the tree can be dynamic and not require any manual updates.
- Difficult to move family tree to new website. We would have to copy over all the files related to the family tree rather than making a single API call to get the data we need.
Engine: MySQL (MariaDB)
Max DB Size: 1 GB (requested by the OCF)
Table Size: 256 MB (general guideline)
CREATE TABLE big_little (
big_email TEXT NOT NULL;
little_email TEXT NOT NULL;
);
Swagger UI Documentation found at: /docs
ReDoc Documentation found at: /redoc