From 51b01f457351076f24e4a08bdcbfb7e4cf2d045a Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 2 Aug 2019 16:11:44 +0200 Subject: Configure mongodb to work correctly --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8d866f1..8ab4611 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,15 @@ Install: - Pistache - json-c +- nlohmann/json - mongocxx +### Why two json lib ? + +Because json-c is more fast than nlohmann/json when I do the test, json-c lib +is only used for convert bson to json and vice versa. The nlohmann/json is +only used for simplicty when loading config file. + # Build ``` @@ -28,7 +35,7 @@ move `swagger-ui` where you want. # Configuration -You can move example file in `~/.config/umosapi/config.json`. +You can move example file in `~/.config/umosapi/config.txt`. The key `swaggerui` is the path of the `swagger-ui` folder. -- cgit v1.2.1