Use dotenv to replace the empty string literals in the code with references to environment files. For PostgreSQL database credentials accept user input upon app startup.