All parameters can be provided as command line arguments.
{
"server": {
"host": "0.0.0.0",
"port": 5001
}
}
{
"mongo": {
"uri": "mongodb://127.0.0.1:27017/zashiki-transport",
"options": {}
}
}
{
"karakuri": {
"baseUrl": "http://127.0.0.1:5003/api/v1"
}
}
{
"catbox": {
"cache": {
"client": {
"uri": "mongodb://127.0.0.1:27017/",
"partition": "zashiki-mechanism"
}
}
}
}
All parameters can be provided as command line arguments.
API_PROTOCOL='http'
API_HOST='127.0.0.1'
API_PORT='5002'
API_PATH='api'
API_VERSION='v1'
At the command line execute:
npm run build
At the command line execute:
npm start
Or:
npm start -- \
--server:host 0.0.0.0 \
--server:port 5001 \
--mongo:uri mongodb://127.0.0.1:27017/zashiki-transport \
--karakuri:baseUrl http://127.0.0.1:5003/api/v1 \
--catbox:cache:client:uri mongodb://127.0.0.1:27017