Posts

Showing posts with the label Micronaut

Build Rest CRUD API with Micronaut and MongoDB

Image
Hello everyone. Today we will learn how to develop REST-style CRUD APIs with MongoDB and Micronaut. You can download the source code from our Github repository. After completing this tutorial what we will build?  We will build REST API  CRUD features:  GET - Fetch all User       :     /api/v1/users GET - Get User by ID     :     /api/v1/users/{id}  POST - Create User         :     /api/v1/users  PUT - Edit User Details   :     /api/v1/users/ DELETE - Delete User    :     /api/v1/users/{id} Technologies used: Micronaut 3.1.1 MongoDB Mongo Synch 3.1.1 Maven Java 11 Project Directory: Maven[pom.xml] A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project. It contains default values for most projects. Some of the configurations that can be designated in the POM is the project dependencies, the plugins or goals that can be executed, the build profil

Build REST CRUD APIs with Micronaut and Data Hibernate JPA

Image
Hello everyone, today we will learn how to build RESTful CRUD APIs using Micronaut and Data Hibernate JPA with the help of one simple example. Related topics, Building an Application with Micronaut Build REST CRUD APIs with Micronaut and Hibernate Micronaut is a modern, JVM-predicated, full-stack Java framework designed for building modular, facilely testable JVM applications with support for Java, Kotlin and the Groovy language. Micronaut  provides : Dependency Injection and Inversion of Control (IoC) Aspect-Oriented Programming (AOP) Sensible Defaults and Auto-ConfigurationMessage-Driven Applications HTTP Routing Client-Side Load Balancing Command-Line Applications HTTP ServersDistributed Configuration Service Discovery Fast startup time Reduced memory footprint Minimal use of reflection Minimal use of proxies No runtime bytecode generation Easy Unit Testing Technologies used: Java 11 Micronaut 3.1.1 Micronaut Data Hibernate JPA 3.1.1 H2DB Micronaut-Hikari-Cp 3.1.1 Maven 3.6.3 Final

Build REST CRUD APIs with Micronaut and Hibernate

Image
Hello everyone, today we will learn how to build RESTful CRUD APIs using  Micronaut and Hibernate  with the help of one simple example. Related topic, Building an Application with Micronaut Micronaut is a modern, JVM-predicated, full-stack Java framework designed for building modular, facilely testable JVM applications with support for Java, Kotlin and the Groovy language. Micronaut  provides : Dependency Injection and Inversion of Control (IoC) Aspect-Oriented Programming (AOP) Sensible Defaults and Auto-ConfigurationMessage-Driven Applications HTTP Routing Client-Side Load Balancing Command-Line Applications HTTP ServersDistributed Configuration Service Discovery Fast startup time Reduced memory footprint Minimal use of reflection Minimal use of proxies No runtime bytecode generation Easy Unit Testing Technologies used: Java 11 Micronaut 3.1.1 Micronaut-Hibernate-JPA 3.1.1 H2DB Micronaut-Hikari-Cp 3.1.1 Maven 3.6.3 Final Project Structure: Dependency management - Maven - Pom.xml A Pr