Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

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

oleg-vasiliev/sparkjava-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 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.

This project contains simple implementations of commonly needed features like localization and authorization with simple role based security. The file structure is organized using a "package by feature" style, which has advantages over the standard "package by layer" approach, which is used everywhere. On the client side we have Skeleton- a dead simple, responsive boilerplate for front-end that can be easily replaced by more complex solutions like Bootstrap, Foundation, MDL or whatever you want. All view templates are managed by the 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 yourself.

More features will be added later, including API examples, database integration, unit and integration tests, etc.. There is a live example available on Heroku

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages