armdev / spring-boot-3-java-19

spring boot 3 integration with springdoc and postgres, Java 19

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-3-java-19

spring boot 3 integration with springdoc and postgres, Java 19

./run.sh

access: http://localhost:3025/swagger-ui.html

curl -X 'POST' \
  'http://localhost:3025/api/v2/events/create' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": 0,
  "eventType": "YELLOW_EVENT",
  "event": "YELLOW_IN_PROGRESS",
  "recordDate": "2023-02-28T11:01:09.166Z"
}'
curl -X 'GET' \
  'http://localhost:3025/api/v2/events/show/count' \
  -H 'accept: */*'


ab -n 1000 -c 100 http://localhost:3025/api/v2/events/generate

About

spring boot 3 integration with springdoc and postgres, Java 19


Languages

Language:Java 84.4%Language:Dockerfile 9.5%Language:Shell 6.1%