Updated backend to utilize postgres as the database instead of sqlite. Wrote some service classes that contain static functions to do various database things. Database contexts should be short-lived, so they are created and passed into services, and then cleaned up.
Updated backend to utilize postgres as the database instead of sqlite. Wrote some service classes that contain static functions to do various database things. Database contexts should be short-lived, so they are created and passed into services, and then cleaned up.