Skip to content

Instantly share code, notes, and snippets.

@kerren
Created March 21, 2021 21:48
Show Gist options
  • Save kerren/23fd9b16c0ff0766d5d9d4a0de42ce2b to your computer and use it in GitHub Desktop.
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
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