https://github.com/runabol/spring-boot-starter-jiccup
https://github.com/runabol/spring-boot-starter-jiccup
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/runabol/spring-boot-starter-jiccup
- Owner: runabol
- Created: 2017-12-30T18:06:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-30T19:52:55.000Z (over 8 years ago)
- Last Synced: 2025-04-14T22:14:39.130Z (about 1 year ago)
- Language: Shell
- Size: 61.5 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot Starter Jiccup
Spring Boot integration with [Jiccup](https://github.com/creactiviti/jiccup), a Clojure inspired HTML rendering library.
Watning: This project is still in an experimental phase.
# Install
```
com.creactiviti
spring-boot-starter-jiccup
0.0.1-SNAPSHOT
com.creactiviti
jiccup
0.0.1-SNAPSHOT
maven-snapshots
http://oss.sonatype.org/content/repositories/snapshots
default
false
true
```
# Hello World
```
import static com.creactiviti.jiccup.Elements.*;
...
@Controller
@ResponseBody
public class Hello {
@RequestMapping("/hi")
public Html render () {
return html (
body(
h1(content("Hello World"))
)
);
}
}
```
# License
Jiccup is released under version 2.0 of the Apache License.