📚 Learning and experimenting with the Micronaut framework https://micronaut.io/.
A modern, JVM-based, full-stack framework for building modular, easily testable microservice and serverless applications
This repository illustrates different concepts, patterns and examples via standalone sub-projects. Each sub-project is completely independent of the others and do not depend on the root project. This standalone sub-project constraint forces the sub-projects to be complete and maximizes the reader's chances of successfully running, understanding, and re-using the code.
The sub-projects include:
This is a "Hello World" Micronaut CLI program.
See the README in basic/.
A "Hello World" Micronaut HTTP web server application that also showcases compression (gzip) and content-negotiation.
See the README in server/.
A Micronaut application that renders HTML on the server-side using the Micronaut "Views" sub-project and Thymeleaf.
See the README in server-side-rendering/.
This project illustrates Micronaut bean concepts like lifecycle scopes and the BeanContext
.
See the README in beans/.
This showcases configuration features of Micronaut like environments and externalized configuration.
See the README in config/.
An example Micronaut application that accesses a SQL database using Micronaut Data.
See the README in sql/.
General clean-ups, TODOs and things I wish to implement for this project:
- DONE Add a server example. I want to showcase a "hello world" endpoint and do gzip compression.
- DONE Track the issue about the Gradle "run" task being cached starting in version 3.0.0 of the Micronaut Gradle plugin.
- Update: see micronaut-projects/micronaut-gradle-plugin#385