@@ -4,40 +4,35 @@ Example of a production grade entity service storing information in PostgreSQL.
4
4
* Libpq is used to communicate with PostgreSQL database.*
5
5
* Dockerfile and docker-compose.yaml files included.*
6
6
7
- #### More about oat++ :
7
+ See more :
8
8
9
- - Website: [ https://oatpp.io ] ( https://oatpp.io )
10
- - Docs: [ https://oatpp.io/docs/start ] ( https://oatpp.io/docs/start )
11
- - Oat++ Repo: [ https://github.com/oatpp/oatpp ] ( https://github.com/oatpp/oatpp )
9
+ - [ Oat++ Website ] ( https://oatpp.io/ )
10
+ - [ Oat++ Github Repository ] ( https://github.com/oatpp/oatpp )
11
+ - [ Get Started ] ( https://oatpp.io/docs/start )
12
12
13
13
## Overview
14
14
15
- This project is using ` oatpp ` and ` oatpp-swagger ` modules.
15
+ This project is using [ oatpp] ( https://github.com/oatpp/oatpp ) and [ oatpp-swagger] ( https://github.com/oatpp/oatpp-swagger ) modules.
16
16
17
17
### Project layout
18
18
19
19
```
20
-
21
- - CMakeLists.txt // projects CMakeLists.txt
22
- - src/ // source folder
23
- - test/ // test folder
24
- - utility/install-oatpp-modules.sh // utility script to install required oatpp-modules.
25
- - resources/config.json // configuration file with configuration profiles
26
- - Dockerfile // Dockerfile
27
- - docker-compose.yaml // Docker-compose with this service and postgresql
28
- ```
29
- ```
30
- - src/
31
- |
32
- |- controller/ // Folder containing Controller where all endpoints are declared
33
- |- db/ // Database class is here
34
- |- dto/ // DTOs are declared here
35
- |- ServiceComponent.hpp // Service configuration (port, ObjectMapper, Database)
36
- |- SwaggerComponent.hpp // Configuration for swagger-ui
37
- |- AppComponent.hpp // Service configuration is loaded here
38
- |- Logger.hpp // Application Logger
39
- |- App.cpp // main() is here
40
-
20
+ |- CMakeLists.txt // projects CMakeLists.txt
21
+ |- src/
22
+ | |
23
+ | |- controller/ // Folder containing Controller where all endpoints are declared
24
+ | |- db/ // Database class is here
25
+ | |- dto/ // DTOs are declared here
26
+ | |- ServiceComponent.hpp // Service configuration (port, ObjectMapper, Database)
27
+ | |- SwaggerComponent.hpp // Configuration for swagger-ui
28
+ | |- AppComponent.hpp // Service configuration is loaded here
29
+ | |- App.cpp // main() is here
30
+ |
31
+ |- test/ // test folder
32
+ |- utility/install-oatpp-modules.sh // utility script to install required oatpp-modules.
33
+ |- resources/config.json // configuration file with configuration profiles
34
+ |- Dockerfile // Dockerfile
35
+ |- docker-compose.yaml // Docker-compose with this service and postgresql
41
36
```
42
37
43
38
---
0 commit comments