mirror of
https://github.com/20kaushik02/express-sequelize-backend-template.git
synced 2026-01-25 07:14:06 +00:00
Boilerplates, base config, folder structure, utils, etc.
This commit is contained in:
16
config/config.js
Normal file
16
config/config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
"development": {
|
||||
"username": process.env.DB_USERNAME, // local PostgreSQL DB username
|
||||
"password": process.env.DB_PASSWORD, // local PostgreSQL DB password
|
||||
"host": "127.0.0.1", // localhost
|
||||
"database": process.env.DB_NAME, // local PostgreSQL DB name
|
||||
"dialect": "postgres"
|
||||
},
|
||||
"production": {
|
||||
"use_env_variable": "DB_URL", // production database connection string
|
||||
"dialect": "postgres",
|
||||
"dialectOptions": {
|
||||
"ssl": true,
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user