JWeb Console
Overview
This application is intended for embedding a web scripting console (for groovy or jruby) in a java web application (Micronaut/Spring Boot) which then could access the application context (for development purposes).
Usage
Add framework starter dependency and enabled it on the framework config file.
To add the dependency add the following dependency to each framework:
Frameworks
JWeb Console can be used in different web frameworks add the dependency using the following config:
For Spring Boot
runtimeOnly("io.github.pintowar:jweb-console-spring-boot-starter:x.y.z")For Micronaut
runtimeOnly("io.github.pintowar:jweb-console-micronaut-starter:x.y.z")Applying config
This lib is meant to be used only in development environments. Therefore, preferably these settings should be done in application-dev.properties or application-dev.yml files.
Add the jweb.console.enabled=true config to the application config (preferably only on dev environment).
After the application is started, the console can be accessed on the url: http://localhost:8080/console
Sample applications can be found on the samples folder.
