GithubHelp home page GithubHelp logo

doytsujin / micronaut-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from micronaut-projects/micronaut-examples

0.0 1.0 0.0 5.25 MB

Example Projects Using Micronaut

Shell 3.65% JavaScript 14.80% Java 36.37% Groovy 33.70% Kotlin 1.81% CSS 0.73% HTML 7.14% Dockerfile 1.81%

micronaut-examples's Introduction

Micronaut Examples

This repository contains examples of Micronaut.

The following examples are featured.

hello-world-java

The hello-world-java example is a simple Hello World implementation written in Java.

To run the application with Gradle use:

$ cd hello-world-java
$ ./gradlew run

To run the application with Maven use:

$ ./mvnw exec:exec

Then go to http://localhost:8080/hello/John

To run the tests run ./gradlew test or /mvnw test.

hello-world-groovy

The hello-world-groovy example is a simple Hello World implementation written in Groovy.

To run the application with Gradle use:

$ cd hello-world-groovy
$ ./gradlew run

Then go to http://localhost:8080/hello/John

hello-world-kotlin

The hello-world-kotlin example is a simple Hello World implementation written in Kotlin.

To run the application with Gradle use:

$ cd hello-world-kotlin
$ ./gradlew run

Then go to http://localhost:8080/hello/John

petstore

The petstore example is a Micronaut petstore implementation featuring multiple Microservices and a docker-compose.yml file for starting the application.

See the README in the root of the petstore example for usage instructions.

neo4j-musicians

Example of REST service built with Micronaut, with embedded neo4j as database. It's a simple example without any kind of data validation, just shows how to register beans, a controller and a simple test.

Hope it helps!

views-and-forms-java

The views-and-forms-java example is a simple form display application written in Java. It uses simple html and css to read a form and display the response.

To run the application with Gradle use:

$ cd views-and-forms-java
$ ./gradlew run

For Windows users:

$ cd views-and-forms-java
$ gradlew run

Then go to http://localhost:8080

To test with Gradle on Firefox:

$ cd views-and-forms-java
$ ./gradlew test

For Windows users:

$ cd views-and-forms-java
$ gradlew test

To test with Gradle on Chrome:

$ cd views-and-forms-java
$ ./gradlew -Dgeb.env=chrome test

For Windows users:

$ cd views-and-forms-java
$ gradlew -Dgeb.env=chrome test

To test with Gradle on Chrome headless:

$ cd views-and-forms-java
$ ./gradlew -Dgeb.env=chromeHeadless test

For Windows users:

$ cd views-and-forms-java
$ gradlew -Dgeb.env=chromeHeadless test

micronaut-examples's People

Contributors

graemerocher avatar ilopmar avatar dependabot[bot] avatar mvolkmann avatar jameskleeh avatar sdelamo avatar csh0711 avatar jaimebp avatar zacharyklein avatar alvarosanchez avatar sullis avatar katoquro avatar ancho avatar nemesiscodex avatar debuglevel avatar maurice-mueller avatar rsvoboda avatar wololock avatar bitsnaps avatar psoares avatar hwilliams314 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.