{"id":26892114,"url":"https://github.com/ksbrwsk/reactive-people-postgresql","last_synced_at":"2025-09-10T14:34:50.370Z","repository":{"id":39887609,"uuid":"322371948","full_name":"ksbrwsk/reactive-people-postgresql","owner":"ksbrwsk","description":"Spring Boot Webflux / R2dbc example","archived":false,"fork":false,"pushed_at":"2025-05-05T04:03:48.000Z","size":287,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T14:11:42.993Z","etag":null,"topics":["docker","docker-compose","postgresql","r2dbc","reactive","restassured","restdocs","spring-boot","swagger","testcontainers"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksbrwsk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-17T17:55:04.000Z","updated_at":"2025-04-04T14:42:03.000Z","dependencies_parsed_at":"2024-04-19T05:24:08.901Z","dependency_job_id":"f3804ab5-65e2-4dd2-a386-0a048601763d","html_url":"https://github.com/ksbrwsk/reactive-people-postgresql","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ksbrwsk/reactive-people-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksbrwsk%2Freactive-people-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksbrwsk%2Freactive-people-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksbrwsk%2Freactive-people-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksbrwsk%2Freactive-people-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksbrwsk","download_url":"https://codeload.github.com/ksbrwsk/reactive-people-postgresql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksbrwsk%2Freactive-people-postgresql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260735439,"owners_count":23054677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","postgresql","r2dbc","reactive","restassured","restdocs","spring-boot","swagger","testcontainers"],"created_at":"2025-03-31T22:49:11.484Z","updated_at":"2025-06-19T10:41:37.110Z","avatar_url":"https://github.com/ksbrwsk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reactive-people-postgresql\n\n#### reactive Spring Boot example, covering Webflux, R2dbc, Testcontainers, Open API, RestDocs.\n\n![Java CI with Maven](https://github.com/ksbrwsk/reactive-people-postgresql/workflows/Java%20CI%20with%20Maven/badge.svg)\n\n**Prerequisites:**\n\n* [Java 21](https://openjdk.net/)\n* [Apache Maven](https:http://maven.apache.org/)\n* [Docker](https://www.docker.com/)\n* Optional [Postman](https://www.postman.com/)\n\n**Themes:**\n\n* Spring Webflux\n* Router Functions/Handler Functions\n* R2DBC Database Connectivity\n* Unit Testing\n* Integration Testing with Testcontainers\n* Docker build/compose\n* OpenAPI / Swagger API Documentation\n* Spring RestDocs documentation\n\nIf you have Docker installed, grab a PostgreSQL image from Docker Hub and run the image.\n```bash\ndocker pull postgres:16-alpine\ndocker run --name postgresql -e POSTGRESQL_PASSWORD=password123 -e POSTGRES_DB=spring -p 5432:5432 postgres:15.4-alpine\n```\nOr else, grab the app image via \n```bash\ndocker pull ksabrwsk/reactive-people-postgresql:1.0.0\n```\n\nApplication properties can be configured in\n\n```bash\nreactive-people-postgresql/src/main/resources/application.properties\n```\n\n#### How to build and run\n\nType\n\n```bash\nmvn package\nmvn spring-boot:run\n```\n\nto build and run the application on your local environment.\n\nTo run the app as a Docker Container type the following commands to build\nan run the image:\n```bash\ndocker build ./ -t reactive-people-postgresql\ndocker-compose up --force-recreate\n```\n\nUse curl, httpie etc. to call the HTTP Endpoints, or use Postman, a collection file is located under\n```bash\nreactive-people-postgresql.postman_collection.json\n```\n\nPoint your browser to\n```bash\nhttp://localhost:8080/swagger-ui.html\n```\nto try out the API or see the documentation. \n\nPoint your browser to\n```bash\nhttp://localhost:8080/docs/index.html\n```\nto read the RestDOCs API documentation. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksbrwsk%2Freactive-people-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksbrwsk%2Freactive-people-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksbrwsk%2Freactive-people-postgresql/lists"}