mirror of
https://github.com/eliasrenman/gardentron.git
synced 2026-03-17 04:56:06 +01:00
chore: setup featherjs project
This commit is contained in:
10
server/config/custom-environment-variables.json
Normal file
10
server/config/custom-environment-variables.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"port": {
|
||||
"__name": "PORT",
|
||||
"__format": "number"
|
||||
},
|
||||
"host": "HOSTNAME",
|
||||
"authentication": {
|
||||
"secret": "FEATHERS_SECRET"
|
||||
}
|
||||
}
|
||||
17
server/config/default.json
Normal file
17
server/config/default.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"host": "localhost",
|
||||
"port": 3030,
|
||||
"public": "./public/",
|
||||
"origins": [
|
||||
"http://localhost:3030"
|
||||
],
|
||||
"paginate": {
|
||||
"default": 10,
|
||||
"max": 50
|
||||
},
|
||||
"sqlite": {
|
||||
"client": "sqlite3",
|
||||
"connection": "server.sqlite",
|
||||
"useNullAsDefault": true
|
||||
}
|
||||
}
|
||||
3
server/config/test.json
Normal file
3
server/config/test.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"port": 8998
|
||||
}
|
||||
Reference in New Issue
Block a user