It's all start with a friend that has some squashs court's and during covid-19, every people how enters to the club need to sign a swore declaration in paper with a pen.
Whats the consequence of that, we need to take pen to sign a paper.... WHAT? The idea is to get ride off the paper and touching things!
So we planned to have a QR code at the entrance of the club and when you enter, with your cellphone scan that and sign digitally the questions of the swore declaration.
That a "simple" app, so I decided to develop on Quarkus!
The base of the app requirements has:
1.- the Entity (the courts of squash).
2.- the User that is accessing to the club, that must register on it.
3.- And the Swore Declaration to be signed by the User at the Entity.
I have made the app on 4 days, and use KISS (Keep It Simple Stupid) as a premise. The Entities and the Users are store on a database, and the Swore Declaration is a static form that have some questions to answer. The login, no exists, is just a registration form with fields that the Swore Declaration needs like Name, surname and location.
So thas works! testing and deploying. Greats. Everyone is happy.
How ever, I decide to go further.
First, a login to have Users, Entities/Space and Declaration to admin them.
A dashboard to control who person access to the club and which Declaration have been signed.
Between times, we can check how users are related on the court.
We could made our own Sworn Declarations.
Manage the Entity, defining properties and Spaces. Spaces are the places/courts where people stand.
So the application start growing with some interesting things.
The database technology used is ElephantSQL to test Postgres over the net.
This is a classy Java Web app with RESTEasy/JAX-RS protocol. I said classic because I came from JavaEE with Jboss, so that why.
What could I made, make it Reactive. Quarkus brings reactivness in the all the aspects of the life cycle; in database, backend and front.
Use Panache, for the repository.
Make API first.
A new frontend, maybe add Svelte (you are invited to colaborate) o https://quasar.dev/ (how I said, 2Qute to Be Real)
Add mail support to connect users.
Made Test to verify the functionality of the app.
How about to add blockchain to every declaration.
To learn about Quarkus.io visit https://quarkus.io/!
You could access github repository in https://github.com/wuiler/declaracion/
Photo from Unsplash: Unsplash