replace python django backend with nodejs backend
This commit is contained in:
52
backend/config/config.json
Normal file
52
backend/config/config.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"ai": {
|
||||
"port": 5171
|
||||
},
|
||||
"server": {
|
||||
"host": "localhost",
|
||||
"port": 5172,
|
||||
"baseUrl": "http://localhost:5172/",
|
||||
"features": {
|
||||
"auth": {
|
||||
"enable": true,
|
||||
"register": true
|
||||
}
|
||||
},
|
||||
"session": {
|
||||
"secret": "insert some random generated string in here",
|
||||
"name": "sid",
|
||||
"cookie": {
|
||||
"path": "/",
|
||||
"domain": null,
|
||||
"secure": false,
|
||||
"sameSite": "strict"
|
||||
},
|
||||
"rolling": true,
|
||||
"proxy": false
|
||||
}
|
||||
},
|
||||
"database": {
|
||||
"use": "sqlite",
|
||||
"mysql2": {
|
||||
"client": "mysql2",
|
||||
"connection": {
|
||||
"host": "localhost",
|
||||
"port": 3306,
|
||||
"database": "ai",
|
||||
"user": "user",
|
||||
"password": "password"
|
||||
},
|
||||
"pool": {
|
||||
"min": 2,
|
||||
"max": 10
|
||||
}
|
||||
},
|
||||
"sqlite": {
|
||||
"client": "sqlite3",
|
||||
"useNullAsDefault": true,
|
||||
"connection": {
|
||||
"filename": "./ai.db"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user