https://github.com/pintowar/jweb-console
Web Scripting Console for Java Web Applications
https://github.com/pintowar/jweb-console
groovy micronaut ruby spring-boot
Last synced: 4 months ago
JSON representation
Web Scripting Console for Java Web Applications
- Host: GitHub
- URL: https://github.com/pintowar/jweb-console
- Owner: pintowar
- License: mit
- Created: 2019-05-08T13:19:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T15:02:49.000Z (about 2 years ago)
- Last Synced: 2025-01-27T08:11:26.559Z (6 months ago)
- Topics: groovy, micronaut, ruby, spring-boot
- Language: Java
- Homepage:
- Size: 591 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JWeb Console

[](https://sonarcloud.io/dashboard?id=pintowar_jweb-console)
[](https://sonarcloud.io/dashboard?id=pintowar_jweb-console&branch=develop)
# 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
```kotlin
runtimeOnly("io.github.pintowar:jweb-console-spring-boot-starter:x.y.z")
```### For Micronaut
```kotlin
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.