example-postgresql
example-postgresql copied to clipboard
A complete example of a "CRUD" service (UserService) built with Oat++ and using oatpp ORM with PostgreSQL.
Hi dear Leo. I have problem with enum in DTO_FIELD in createUser api execution. If i remove the role from request, it works. couldn't figure it out why. Also my...
``` ❯ docker compose up [+] Building 1.2s (11/12) => [service internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 281B 0.0s => [service internal] load .dockerignore 0.0s...
reproduce: --- $ docker build -t example-postgresql . $ docker run -p 8000:8000 -e CONFIG_PROFILE='dev' -t example-postgresql D |2021-10-20 04:43:45 1634705025742559| Server:Loading configuration profile 'dev' terminate called after throwing an...
I am trying to install and run the application but I am unable to because `oatpp-swagger` isn't found. Which is caused because the cmake for `oatpp-swagger` module is failing. ```bash...
 User defined entities are added in the controller, DB, dto and service directories respectively, but compilation errors are reported.
I have added the column 'created' to the table 'AppUser' in the example-postgresql ``` CREATE TABLE IF NOT EXISTS AppUser ( id varchar (256) PRIMARY KEY, username varchar (256) NOT...
I have looked all over for an example to simply do a basic select COUNT(*) query. After wasting a good hour without any success, I'm throwing in the towel. ```...