When you build REST APIs, one of the most common tasks is to send data in JSON format.JSON (JavaScript Object Notation) is: It is super easy to return JSON from REST endpoints in Micronaut. In this
Path Parameters and Query Parameters in Micronaut
When building REST APIs, we often need to receive input from the user through URL parameters. This is very easy with Path Parameters and Query Parameters in Micronaut . In this post, we will learn:
Creating REST Endpoints with @Controller and @Get/@Post in Micronaut (School Management Example)
Micronaut makes it very easy to create REST APIs using simple annotations. In this tutorial, we will explore how to use annotations like @Controller and @Get/@Post in Micronaut to build REST endpoi
Building REST API in Micronaut (Banking App Example)
Micronaut is a powerful framework for building microservices and REST APIs in Java. In this tutorial, we will be Building REST API in Micronaut for a banking application using Micronaut and Java 21
Micronaut with VS Code: Recommended Setup
Micronaut is a modern, lightweight Java framework. Many developers love using VS Code because it’s free, fast, and full of useful extensions. In this guide, we will go step-by-step to set up
Using Micronaut with Java 21
Micronaut is a modern, JVM-based framework designed to help developers build fast, lightweight, and cloud-native applications. With the release of Java 21, Micronaut becomes even more powerful, tha
Dependency Injection in Micronaut: How it Works
When you start using frameworks like Micronaut, you often hear the term Dependency Injection (DI).For beginners, this term may sound complicated. But don’t worry — in this post, we’ll break i
Micronaut vs Spring Boot: Key Differences for Beginners
If you are starting your journey in Java web development or microservices, you may have come across two popular frameworks: Both help you build modern web applications and microservices. But which
Hello World: Your First Endpoint in Micronaut
When learning any new framework, it always starts with building your first “Hello World” application. In Micronaut, this is incredibly simple, but also very powerful because you start u
Understanding Project Structure in Micronaut
Micronaut projects are designed to have a clean and modular structure. Whether you use Gradle or Maven as your build tool, the project organization remains similar. In this post, we will focus on M