https://github.com/fireflyframework/fireflyframework-r2dbc
Reactive database support with R2DBC auto-configuration, connection pooling, and PostgreSQL integration for non-blocking data access.
https://github.com/fireflyframework/fireflyframework-r2dbc
Last synced: 4 months ago
JSON representation
Reactive database support with R2DBC auto-configuration, connection pooling, and PostgreSQL integration for non-blocking data access.
- Host: GitHub
- URL: https://github.com/fireflyframework/fireflyframework-r2dbc
- Owner: fireflyframework
- License: apache-2.0
- Created: 2026-02-06T12:33:53.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-02-10T19:49:22.000Z (4 months ago)
- Last Synced: 2026-02-10T20:49:18.027Z (4 months ago)
- Language: Java
- Size: 183 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firefly Framework - R2DBC
[](https://github.com/fireflyframework/fireflyframework-r2dbc/actions/workflows/ci.yml)
[](LICENSE)
[](https://openjdk.org)
[](https://spring.io/projects/spring-boot)
> Reactive database access module with R2DBC, pagination, filtering, and Swagger integration for Spring Boot applications.
---
## Table of Contents
- [Overview](#overview)
- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [License](#license)
## Overview
Firefly Framework R2DBC provides reactive database connectivity using Spring Data R2DBC with PostgreSQL. It includes auto-configuration for R2DBC connections, transaction management, and a set of utility classes for pagination and dynamic filtering.
The module also bundles Swagger/OpenAPI configuration for documenting reactive API endpoints, and provides reusable filter utilities that enable dynamic query construction based on request parameters.
This module is typically used by domain and data-layer microservices that require non-blocking database access.
## Features
- Spring Data R2DBC auto-configuration with PostgreSQL
- Reactive transaction management via `R2dbcTransactionConfig`
- `PaginationRequest` / `PaginationResponse` utilities for standardized pagination
- `FilterRequest` and `FilterUtils` for dynamic query filtering
- `RangeFilter` for range-based query parameters
- `@FilterableId` annotation support via `FilterParameterCustomizer`
- Swagger/OpenAPI configuration for WebFlux endpoints
- Spring Boot auto-configuration via `AutoConfiguration.imports`
## Requirements
- Java 21+
- Spring Boot 3.x
- Maven 3.9+
- PostgreSQL database
## Installation
```xml
org.fireflyframework
fireflyframework-r2dbc
26.02.06
```
## Quick Start
```java
import org.fireflyframework.core.queries.PaginationRequest;
import org.fireflyframework.core.queries.PaginationResponse;
@RestController
public class ProductController {
@GetMapping("/products")
public Mono> list(PaginationRequest pagination) {
return productService.findAll(pagination);
}
}
```
## Configuration
```yaml
spring:
r2dbc:
url: r2dbc:postgresql://localhost:5432/mydb
username: user
password: secret
```
## Documentation
No additional documentation available for this project.
## Contributing
Contributions are welcome. Please read the [CONTRIBUTING.md](CONTRIBUTING.md) guide for details on our code of conduct, development process, and how to submit pull requests.
## License
Copyright 2024-2026 Firefly Software Solutions Inc.
Licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for details.