pub async fn connect_to_db_get_pool() -> Result<Pool<Postgres>, Error>
Provides a connection to a postgres server. This requires DATABASE_URL to be set in .env file.
DATABASE_URL
.env