Skip to content

Proper boilerplate project for Spark - micro framework for creating web apps in Java 8 with minimal effort.

License

Notifications You must be signed in to change notification settings

RamotionRussell/sparkjava-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proper boilerplate project for Spark

This is a boilerplate project for developing lightweight web apps with Spark- a micro framework for creating web apps in Java 8 with minimal effort.

Project contains simple implementations of commonly needed features like localization and authorization with simple role based security. File structure organized using "package by feature" style, it has more advantages than a standard "package by layer" approach, which is used everywhere. On client side we have Skeleton- a dead simple, responsive boilerplate for front-end that can be easily replaced by any more complex solutions like Bootstrap, Foundation, MDL or whatever you want. All view templates is managed by Apache Velocity template engine, it's simple, fast and provides much more flexibility than rusty Java Server Pages. Also, for convenience testing and simpler object construction used Google Guice, but it can be easily removed if you prefer to do everything by yourself.

More features will be added later: example of APIs, database integrations, unit and integration tests, etc. Also live example available on Heroku

About

Proper boilerplate project for Spark - micro framework for creating web apps in Java 8 with minimal effort.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 71.7%
  • CSS 28.3%