diff options
author | neodarz <neodarz@neodarz.net> | 2019-08-02 16:11:44 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-08-02 16:11:44 +0200 |
commit | 51b01f457351076f24e4a08bdcbfb7e4cf2d045a (patch) | |
tree | 473c1a8ff49b52b1e950298053e52c2df43774e8 /README.md | |
parent | 185e684a4648849b35cce65a00465cb41a309292 (diff) | |
download | umosapicpp-51b01f457351076f24e4a08bdcbfb7e4cf2d045a.tar.xz umosapicpp-51b01f457351076f24e4a08bdcbfb7e4cf2d045a.zip |
Configure mongodb to work correctly
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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. |