diff --git a/README.md b/README.md new file mode 100644 index 0000000..c9ce927 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# rolniknysa-backend +## config.json: +```json +{ + "port": 8008, + "articleDescriptionLimit": 150, + "root": "../rolniknysa/docs/", + "db": { + "hostname": "", + "name": "rolniknysa" + }, + "hubhooks": { + "secret": "" + } +} +``` + +## logging: +```javascript +logger.log({ + data: "Data to log in console", + action: 'info' +})) +``` \ No newline at end of file