Micronauts Launch: The best way to getting started.
Micronaut has launched a website to generate the Micronauts project using the website without installing the Micronauts CLI SDK.
In a couple of blogs, we have seen about Micronauts if you don’t know you can check below blog post:
Micronaut is very much similar to the spring framework. Micronaut took inference from Spring framework and most the API are in sync only, that’s why adopting Micronauts for spring developer is very easy. As we have start.spring.io to start and create spring or spring boot project on the same note Micronauts also launched website aka Micronauts launch.
As we know we can generate micronaut project using CLI but we can take same advantage using website as well.
If you see here we have different options few are listed below.
- Application type
- Java version
- Base Package
- Name of application
1. Application type:-
Application type where we have to specify which type of application we want such as Application (web or any other application), CLI application, Serverless function, gRPC application, and Messaging application. This application type will help us to organize the dependencies.
2. Java Version:-
Java version where we have to specify on which JDK we want to develop your application, e.g Java 8,11, 14 etc.
3. Base Package:-
Base package here we have specify our package of the application under which we want organise our classes, interfaces.
Here we have to specify name of the application.
5. Micronaut Version:-
Which micronaut version our application should be compatible latest one when I am writing this blog post is 2.0.0.
Select which language do you want to write down the beautiful code, right now micronaut support java, kotlin and Groovy.
7. Build Tool:-
Select which build tool either from maven or gradle.
8. Test Framework:-
Here we have a choice to select the test framework anything from the list such as Junit, Spock, and kotlintest.
When you click on features button one popup will launch.
In features we have different groups such as cache, config, database, etc.
This is to show the difference. This is interesting option. Shows the changes that the selected features have on an application generated without any features selected.
Another best option this site provides is the preview of your project based on your selection.
The final option is to generate the project and once you click on this are getting zip file. After zip extraction, you will get below kind of structure.
Were we have docker file, build file, gitignore along with source directory structure. Download and import this in any of your IDE(eclipse, intellij) and happy coding.
This is it for now. Let me know your finding on this if any.