Skip to content

Software Development at Program Tom LTD

Place for coding, programming, development and software in general.

Menu
  • Blog
  • PDF Booklets
  • Dev Utils & Content
  • Java Spring Boot Or Web Apps
  • English
    • български
    • English
    • Español
    • Português
    • हिन्दी
    • Русский
    • Deutsch
    • Français
    • Italiano
    • العربية
  • About Us
  • Flutter Apps
Menu

App Builder + Code Generation – Spring Micro Service – Vaadin App

App Builder + Code Generation - Spring Micro Service - Vaadin App

$199.00

Categories: Source Code Generators, Spring (Boot) / Quarkus, Vaadin 24+
  • Description

Description

This package is the App Builder + Code Generation – Spring Micro Service – Vaadin App – a Backend for my Server Driven IntelliJ Plugin. Some time ago I’ve released the source code of the plugin on GitHub. I have a lot of todos left on it – especially documentation. I’ll address it when I have free time.

Login with Google

I’ve made some progress on implementing custom login authentication (via the inline database) – included in the source code, but I have frozen the advancement of this feature for now and integrated Google Login. The reason is – there are too many points of potential security problems – described in this blog post: https://programtom.com/dev/2023/12/21/authentication-endpoints-high-security-attack-vector/.

To get Login with Google working in this package, you need to either

  • edit application.properties file with configuration grabbed from https://console.cloud.google.com/apis/credentials/oauthclient/ (client-id and client-secret)
  • or provide these properties in the docker-compose.yaml file for the “web” Micro Service.

The result of the login is the following:Initial app builder page

The first screen is informative

  • what the app uses
  • what the app is about

login with google

Then – after clicking login – you could choose from your google profiles. After successful authentication you will get the following screen:

login with google success

Code Generation / IntelliJ Plugin

In the current version of my App Builder IntelliJ Plugin, there are two types of modifications that may be executed on to the source code:

  • New File Creation
  • Existing File Modification

This – in the IDE – is executed with – context action on files in your project or content asist action in your editor. From my App Builder Administrative interface this could be configured with the following screens.

First – you need to create simple Code Provider record. This in the future will be item to be picked in the IDE – as code assist provider.
Code Provider Screen

As you can see – you will be able to create list of related records.

  • Generator Activator Groups.

As Invisioned for the future features – requirements for a feature to get acticated – it needs activators. In low level terms – this means regexes.

But, many features require more than one activator to get activated. This is why the activators are in groups.

Simple Activator

These activators may be attached to

  • New file Generators

blank

Or Existing File Changers

Existing File Code Assist

 

The actual code generation, file change happen on the Back-End Endpoints that are part of these Data Models that will be documented in the fututre.

These are essentially the administrative screen for the IntelliJ Plugin.

App Builder

For full scale Application Generation – First – you need to define your Application Templates. My current list of templates consists of Vaadin Spring Boot based Web App. At the moment (17.02.2024) – this is the base for many of my Micro Services https://programtom.com/dev/product-category/technologies/spring-boot-framework/?orderby=date-desc.

blank

Code Provider Platforms contains related records:

  • File Changes – for new files

blank

  • and Code Templates. These may generate partial snippets that cannot be compiled, but may produce some useful code. These are used in new project generation.

blank

After that I can get you do the Apps. The list of them are displayed when tapping on App Builder Models

Apps

Apps contain list of apps and it has related datam models, source code packages, and an action Button – Generate App Source Code.

blank

Data Models

This is list of Data models defined for this app.

blank

Field related to Data Models

Model Properties are more or less – the visual items that the user will see.

blank

Define Hidden Model Properties – id fields, related to the foreign tables properties and any other fields that generally – it is not directly displayed.

blank

To Archive Many to One, One to Many or Many to Many – you need links between data models. This is done by linking Data Models and Hidden Fields.

Data Models

After setting up your items, you may execute Source Code Generation. You may execite build based on the previously setuped Platforms.

blank

After successful build of a package – you may

  • Download the generated package
  • Try to use my server to compile a jar or war file. This is not tested feature. The goal is to get the apps accessible from my server – without the need to download the compile the app definitions on your computer.

blank

 

Application Level White Listing

The app includes integration with Application Level IP White Listing. If you do not want to buy it – you may edit WhiteIpAddressService.java and hard code your own IPs – or remove it all together.

Related products

  • New Login with Google 2024

    Google Login [to Program Tom Apps] Micro Service

    $4.99
    Add to cart
  • File Waiter

    File Waiter – Serve or Upload Files Between a Computer & Other Devices

    $0.99
    Add to cart
  • Tomcat Access Log Analyzer v2 

    Tomcat Access Log Analyzer v2 

    $49.99
    Add to cart
  • App Store for Apps - Java Backend

    App Store for Apps – Java Backend

    $19.99
    Add to cart
  • What are ways to Optimize the backend endpoints in Spring Boot
  • Flutter image flickers
  • Could a Flutter App save a Flag even after uninstall
  • Could iOS flutter app logs be viewed while running in release mode – started after previous closed state
  • 6 Addictive Mobile Game Ideas Inspired by Flappy Bird’s Simplicity

Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (206)
  • Graphical User Interface (13)
  • Marketing (114)
  • Software Development (270)
  • Spring (43)
  • StartUp (21)
  • Uncategorized (4)
  • Uncategorized (15)
  • Vaadin (14)

Tags

Algorithms (9) crypto (29) flutterdev (39) General (86) Java (7) QR & Bar Codes (3) Software Dev Choices (33) Spring Boot (1) standards (1) Theme (3) User Authentication & Authorization (9) User Experience (10) Utilities (19) WordPress (11)

Product categories

  • All Technologies (83)
    • Flutter Apps (23)
    • GPT (4)
    • Java (38)
    • Native Android (3)
    • PHP (9)
    • Spring (Boot) / Quarkus (35)
    • Utils (15)
    • Vaadin 24+ (27)
    • Vaadin 8 (1)
  • Apps (18)
    • Employees DB (1)
    • Notes (6)
    • Personal Budget (1)
    • Recipes Book (1)
    • Stuff Organizer (1)
    • To-Do (2)
  • PDF Books (3)
  • Source Code Generators (8)

Recent Posts

  • What are ways to Optimize the backend endpoints in Spring Boot
  • Flutter image flickers
  • Could a Flutter App save a Flag even after uninstall
  • Could iOS flutter app logs be viewed while running in release mode – started after previous closed state
  • 6 Addictive Mobile Game Ideas Inspired by Flappy Bird’s Simplicity

Post Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (206)
  • Graphical User Interface (13)
  • Marketing (114)
  • Software Development (270)
  • Spring (43)
  • StartUp (21)
  • Uncategorized (4)
  • Uncategorized (15)
  • Vaadin (14)