Skip to content

Playground for combining kotlin-spark, Thymleaf, custom annotations etc

Notifications You must be signed in to change notification settings

v79/kotlin-spark-routes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kotlin-spark-routes

Playground for combining kotlin-spark, Thymleaf, custom annotations etc

This is where I play around with Kotlin, kotlin-sparkjava, and other technologies. I'm hoping that this repository will at least compile, if not actually do anything useful.

A running version of the app may be found hosted on Heroku.

For commentary and thoughts on my Kotlin experiments, see my blog.

Goals and technologies:

  • HTTP server through spark-kotlin
  • Page layouts and templating with Thymeleaf; others supported by spark-kotlin may follow later
  • The Dependency Injection framework Kodein - bit of learning curve
  • Database handling and ORM with JetBrain's own Exposed, which is odd but interesting
  • Reflection and annotation processing
  • Unit testing with JUnit and nhaarman's Kotlin Mockito
  • Making it pretty through Materializecss

I'm avoiding all the traditional big hitters for Java - Spring Boot, Hibernate, JSF2, JSP - as I want to learn more about alternative approaches. I'd like to use as much Kotlin as possible, but I'm not dogmatic about it. Java libraries are allowed.

About

Playground for combining kotlin-spark, Thymleaf, custom annotations etc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published