4 ms·
I highly recommend the following stack: JVM Language: Java 11+ Webserver: https://javalin.io/ https://javalin.io/ Templating: https://j2html.com/ https://j2h
by fayten 5y ago
I highly recommend the following stack:
JVM Language: Java 11+
Webserver: https://javalin.io/ https://javalin.io/
Templating: https://j2html.com/ https://j2html.com/
Enhanced html attributes: https://htmx.org/ https://htmx.org/
Database helper: http://jdbi.org/ http://jdbi.org/
Database: Sqlite or Postgres depending on the expected scale.
The startup time is very fast. I usually see times under a second, which makes iterative changes significantly less painful than something like Spring.
Also setup is ridiculously simple, just throw those libraries in a pom file and use a CDN for htmx. No front end build tools needed since htmx removes the need for most if not all of your javascript.
The whole setup feels kind of old school, but man it makes developing CRUD apps dead simple again.
Lastly, project onboarding is as simple as having someone download intelij and pulling the project. The built in maven and jdk to intelij is all they need. That is as long as you don't need them to run their own Dev database instance, but that's not the end of the world if you utilize docker.
Even if you decide on something else take a look at the above libraries, they're all pretty fantastic.