Initial commit

This commit is contained in:
Lorenzo Sanesi
2026-03-26 22:46:03 +01:00
commit 18e0e04700
80 changed files with 13114 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
module.exports = {
postgres: {
uri:
process.env.POSTGRES_URI ||
'postgres://admin:admin@localhost:5432/amici_scommesse',
options: {
dialect: 'postgres',
logging: process.env.NODE_ENV === 'development' ? console.log : false,
pool: {
max: 10,
min: 0,
acquire: 30000,
idle: 10000,
},
},
},
mongo: {
uri:
process.env.MONGO_URI ||
'mongodb://localhost:27017/amici-scommesse',
options: {
user: 'root',
pass: 'root@servovio',
authSource: 'admin',
},
},
};