blob: 8d866f1a274b0d718881a541889f7cf544eb3b88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# UMoSApi
This is a second implementation in C++ of the [Python](https://git.neodarz.net/pro/umosapi.git/about/)
version of Unity Mongo Save Api. This is a simple API for save Unity object in
Mongo database.
# Install
## Dependency
Install:
- Pistache
- json-c
- mongocxx
# Build
```
mkdir build
cd build
cmake ..
make
```
move `umosapi` where you want.
move `swagger-ui` where you want.
# Configuration
You can move example file in `~/.config/umosapi/config.json`.
The key `swaggerui` is the path of the `swagger-ui` folder.
# Documentation
Juste launch `umosapi` and go here: [http://127.0.0.1:9080/doc](http://127.0.0.1:9080/doc)
|