[JAVA] Vue.js + Jersey desktop app

The other day, as an implementation example of a simple desktop application, vue-nest-desktop-app (Vue.js + NestJS for desktop application Implement), but backend development is more familiar with Java (Spring Boot + Jersey) than Node.js, so back I created vue-jersey-desktop-app with the end replaced with Java.

The following is a brief summary of development points.

Application configuration

システム構成.png

Spring Boot desktop application

The following measures have been taken to turn Spring Boot into a desktop application.

Calling an external Restful API

Since the browser accesses the front end hosted by a locally running web server, it is not possible to directly access other external web APIs from the front end. Therefore, the API proxy function (also supports SSH port forwarding so that you can access the closed API for development) is implemented on the backend side.

Reference: ApiProxy.java

Recommended Posts

Vue.js + Jersey desktop app
Introduced Vue.js to an existing Rails app