Skip to content
/ vuejava Public

VueJS (Vite) app using Javalin as a backend with Gradle

Notifications You must be signed in to change notification settings

btarg/vuejava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vuejava

VueJS with Vite + Javalin + Java 21 + Gradle Kotlin

This example app has a text box input with a button which will send the input back to a Java function which will then echo the response back to the Vue.js portion of the app.

It uses Javalin's ability to parse an object into a Java class: see frontend/src/scripts/objects/MyCustomObject.js for the JS representation of the Java class io.github.btarg.backend.objects.MyCustomObject

Build and run

This project requires Node.js to be installed. From the backend directory, run

./gradlew build

Your jar will be in build/libs