jakerella/usgov-regs

Switch to using DATABASE_URL for DB creds

Open

#38 opened on Jun 29, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)github user discovery
Good First IssueHelp WantedLoE LowPriority High

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

Any time Heroku changes the DB (upgrades) the creds change. The system automatically updates the DATABASE_URL env var, but the app uses the split out env vars for the various DB connection elements.

This issue is to switch the app to using the entire DB connection URL (including possibly parsing it) and no longer using individual pieces from the env vars to ensure no loss of service after DB upgrades or changes.

Contributor guide