aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-02 16:11:44 +0200
committerneodarz <neodarz@neodarz.net>2019-08-02 16:11:44 +0200
commit51b01f457351076f24e4a08bdcbfb7e4cf2d045a (patch)
tree473c1a8ff49b52b1e950298053e52c2df43774e8 /README.md
parent185e684a4648849b35cce65a00465cb41a309292 (diff)
downloadumosapicpp-51b01f457351076f24e4a08bdcbfb7e4cf2d045a.tar.xz
umosapicpp-51b01f457351076f24e4a08bdcbfb7e4cf2d045a.zip
Configure mongodb to work correctly
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
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.