Set up application for Postgres database.
Import the Postgres driver.
Fix select query in postgres and log errors.
Add notes about environment variables.