Graal templating engine Spring Boot starter

Spring Boot integration for Graal templating

License

License

Categories

Categories

Spring Boot Container Microservices Graal
GroupId

GroupId

io.wttech.graal.templating
ArtifactId

ArtifactId

templating-spring-boot-starter
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

Graal templating engine Spring Boot starter
Spring Boot integration for Graal templating
Project URL

Project URL

https://wttech.github.io/graal-templating
Source Code Management

Source Code Management

https://github.com/wttech/graal-templating

Download templating-spring-boot-starter

Dependencies

compile (2)

Group / Artifact Type Version
io.wttech.graal.templating : templating jar 0.4.0
org.springframework.boot : spring-boot-starter-webflux jar 2.4.1

Project Modules

There are no modules declared in this project.

Graal Javascript Renderer

Maven Central javadoc npm (scoped) npm (scoped)

Library providing a full pipeline for extracting, caching and executing Javascript source code on Graal for markup generation purposes.

Documentation

Complete description of the library together with tutorials and how to articles can be found in the link below.

Reference documentation

Modules

  • templating - main part of the library. Depends mainly on Graal JS SDK. Independent of any framework.
  • templating/src/main/js/bridge - JS module establishing a standard entrypoint to JS logic.
  • templating/src/main/js/bridge-react - JS module establishing a standard entrypoint to React logic.
  • spring-boot-starter - integration with Spring Boot including ScriptProvider for extracting JS source file from external server using WebClient.

Example projects

There are several example projects in the /examples subfolder showing how to integrate Graal templating into your application.

  • hello-world-js - processing templates located on the classpath
  • hello-world-react - processing templates hosted on an external HTTP server
  • hello-world-ts - rendering component markup with JS renderer on GraalVM
  • spring-boot - treating component inner content as pebble template

Contributing

Contributing rules

Code of conduct

Code of conduct

License

This project is licensed under Apache License, Version 2.0.

io.wttech.graal.templating

Wunderman Thompson Technology

Versions

Version
0.4.0
0.3.0
0.2.0