Created
March 21, 2021 21:48
-
-
Save kerren/23fd9b16c0ff0766d5d9d4a0de42ce2b to your computer and use it in GitHub Desktop.
[An example of a feature config] How a database config would look #config #feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const database = { | |
type: 'postgres', | |
host: process.env.DB_HOST, | |
port: Number(process.env.DB_PORT || 5432), | |
username: process.env.DB_USERNAME, | |
password: process.env.DB_PASSWORD, | |
database: process.env.DB_DATABASE, | |
name: 'default', | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment