https://github.com/perty/elm-micronaut-example
https://github.com/perty/elm-micronaut-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/perty/elm-micronaut-example
- Owner: perty
- Created: 2020-09-21T20:12:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T20:28:18.000Z (almost 6 years ago)
- Last Synced: 2025-03-12T07:44:37.029Z (over 1 year ago)
- Language: Elm
- Size: 110 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elm-micronaut-example
An example of a full stack micro service with a frontend in Elm and backend in Micronaut and Java.
Frontend uses [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/1.1.7/) with
[elm-ui-widgets](https://package.elm-lang.org/packages/Orasund/elm-ui-widgets/2.0.1/)
for a [Material](https://material.io/) design.
## Building and running locally
To start the application, use `./gradlew run`. This will build the frontend and backend and start the service.
The first time it will be slow as it has to do some downloading,
but the round trip should be less than 2 seconds thereafter.
## Structure
There are two parts, the frontend and the backend. The backend depends on the frontend
which may look weird but that is because
it serves the web gui when accessing root, therefore the client must be built first.