Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/modernpoacher/zashiki
Zashiki for Zashiki Karakuri
https://github.com/modernpoacher/zashiki
Last synced: 7 days ago
JSON representation
Zashiki for Zashiki Karakuri
- Host: GitHub
- URL: https://github.com/modernpoacher/zashiki
- Owner: modernpoacher
- Created: 2020-06-21T08:38:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T03:29:18.000Z (7 months ago)
- Last Synced: 2024-04-14T01:02:18.096Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `@modernpoacher/zashiki`
# Zashiki
## Configuration Variables
All parameters can be provided as command line arguments.
### Hapi Server
```json
{
"server": {
"host": "0.0.0.0",
"port": 5001
}
}
```### MongoDB
```json
{
"mongo": {
"uri": "mongodb://127.0.0.1:27017/zashiki-transport",
"options": {}
}
}
```### Karakuri
```json
{
"karakuri": {
"baseUrl": "http://127.0.0.1:5003/api/v1"
}
}
```### Catbox
```json
{
"catbox": {
"cache": {
"client": {
"uri": "mongodb://127.0.0.1:27017/",
"partition": "zashiki-mechanism"
}
}
}
}
```## Environment Variables
All parameters can be provided as command line arguments.
```bash
API_PROTOCOL='http'
API_HOST='127.0.0.1'
API_PORT='5002'
API_PATH='api'
API_VERSION='v1'
```## Build
At the command line execute:
```bash
npm run build
```## Start
At the command line execute:
```bash
npm start
```Or:
```bash
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
```