Tutorial release: how to create a complete Vert.x web application with OpenAPI, PostgreSQL & Redis

480 views
Skip to first unread message

Francesco Guardiani

unread,
Jan 20, 2019, 12:23:34 PM1/20/19
to vert.x
Hello to everybody!

I'm publishing on my blog a tutorial step by step on how to create a complete Vert.x application. For the REST API part I'm going to use vertx-web, vertx-web-api-contract and the shiny new vertx-web-api-service. For the DB Access I'm going to use vertx-redis and reactive-pg-client from reactiverse.



Note that for me this is an experiment, I'm not a professional blogger. If you want to give me any feedback just open an issue on GH blog repo :) https://github.com/slinkydeveloper/slinkydeveloper.github.io

Francesco

Sam

unread,
Jan 20, 2019, 12:28:48 PM1/20/19
to vert.x
Great initiative!!

I would be happy if the tutorial series also focuses on performance improvement. Benchmarking kind of experiments.👍

Francesco Guardiani

unread,
Jan 20, 2019, 3:05:05 PM1/20/19
to vert.x
Thank you! For now I want to complete all the posts i planned, maybe in future I can add a post using wrk2, like i did in this experiment: https://github.com/slinkydeveloper/json-validator-http-tests

Francesco Guardiani

unread,
Feb 27, 2019, 9:40:18 AM2/27/19
to vert.x
Hi, I just published the next chapter of the series: https://slinkydeveloper.com/Debts-Manager-Tutorial-Vert-x-Web-API-Contract-Service/

The aim of this chapter is to show you Vert.x Web, Vert.x Web API Contract and Vert.x Web API Service. The combination of these three packages provides all functionalities you need to create a REST API. Then I’m going to use pmlopes’ vertx-starter to scaffold the project.

Let me know for any feedback!

Francesco

apat...@redhat.com

unread,
Feb 28, 2019, 5:03:23 AM2/28/19
to vert.x
Great work.
I really think OpenAPI + Web API contract|service is an incredibly powerful combo.
Btw, any reason why why Web API contract|service are not called OpenAPI contract|service, I think this brings some confusion.

This is the sort of fancy stuff that can boost user adoption.

Francesco Guardiani

unread,
Feb 28, 2019, 7:23:17 AM2/28/19
to vert.x
Btw, any reason why why Web API contract|service are not called OpenAPI contract|service, I think this brings some confusion.

Because my initial idea was to support in the same package with mostly same logic all old api specs: RAML, Swagger 2, ... Then OpenAPI 3 came out and these specs disapperead. I'm planning to hugely refactor web api contract for 4.0, so maybe a name change  could be interesting :)
 
This is the sort of fancy stuff that can boost user adoption.

If you are interested there was a discussion about it at last F2F: https://groups.google.com/forum/#!topic/vertx-dev/jiViJXz93XU
Reply all
Reply to author
Forward
0 new messages