added readme
This commit is contained in:
1 parent
332a26c5db
commit
effada4988
1 file changed
+24
@@ -0,0 +1,24 @@
|
||||
# rolniknysa-backend
|
||||
## config.json:
|
||||
```json
|
||||
{
|
||||
"port": 8008,
|
||||
"articleDescriptionLimit": 150,
|
||||
"root": "../rolniknysa/docs/",
|
||||
"db": {
|
||||
"hostname": "<db hostname>",
|
||||
"name": "rolniknysa"
|
||||
},
|
||||
"hubhooks": {
|
||||
"secret": "<github webhooks secret>"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## logging:
|
||||
```javascript
|
||||
logger.log({
|
||||
data: "Data to log in console",
|
||||
action: 'info'
|
||||
}))
|
||||
```
|
||||
Reference in new issue
Block a user