-
João Victor Tozatti Risso authored
- Add simulation and user modules; - Change config.json.example to use simcaqdb3 instead of simcaqdb1; - Add routes for simulatio and user module functions.
João Victor Tozatti Risso authored- Add simulation and user modules; - Change config.json.example to use simcaqdb3 instead of simcaqdb1; - Add routes for simulatio and user module functions.
config.json.example 1.64 KiB
{
"development":
{
"port": 3000,
"ip": "127.0.0.1",
"debug" : true,
"monetdb": {
"host": "simcaqdb3.c3sl.ufpr.br",
"port": 50000,
"dbname": "simcaq_dev",
"user": "monetdb",
"password":"monetdb",
"nrConnections": "4"
},
"mongodb" : {
"uri": "mongodb://localhost/users",
"secret": "SimCAQC3SL"
},
"default": {
"api": {
"version" : "v1"
}
}
},
"test":
{
"port": 3000,
"ip": "127.0.0.1",
"debug" : true,
"monetdb": {
"host": "simcaqdb3.c3sl.ufpr.br",
"port": 50000,
"dbname": "simcaq_dev",
"user": "monetdb",
"password":"monetdb",
"nrConnections": "4"
},
"mongodb" : {
"uri": "mongodb://localhost/test_users",
"secret": "SimCAQC3SL"
},
"default": {
"api": {
"version" : "v1"
}
}
},
"production":
{
"port": 3000,
"ip": "127.0.0.1",
"debug" : false,
"monetdb": {
"host": "simcaqdb3.c3sl.ufpr.br",
"port": 50000,
"dbname": "simcaq_dev",
"user": "monetdb",
"password":"monetdb",
"nrConnections": "4"
},
"mongodb" : {
"uri": "mongodb://localhost/users",
"secret": "SimCAQC3SL"
},
"default": {
"api": {
"version" : "v1"
}
}
}
}