Samples for jasync-sql
A collection of ready-to-use samples for jasync-sql.
| Sample | Labels | Blog post |
|---|---|---|
| spring | spring kotlin |
|
| javalin | javalin postgres |
Async Java all the way to the database with jasync-sql and javalin |
| ktor | ktor kotlin coroutines mysql |
Async with style — Kotlin web backend with ktor, coroutines, and jasync-mysql |
| r2dbc | r2dbc mysql spring web-flux |
More detials on the video and repo. There is also a blog post here with this repo. |
Each sample is a standalone Gradle project that can be cut-and-pasted to get started with your own project.
Cut-and-paste the directory of the corresponding sample together with
its build scripts.
- MySQL
- PostgreSQL
- Vert.x 3 (historical —
vertx-mysql-postgresql-clientwas discontinued in Vert.x 4): Async DB access with vertx-mysql-postgresql-client
- Mysql: docker-compose -f dockers/mysql/docker-compose.yml up