Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Polymer and Spring Boot full stack example

This is an example application showing you how to build a full stack Polymer application with a Spring Boot backend and JWT based token authentication.

Requirements

  • Java 1.8
  • Maven
  • NPM
  • Bower

Before you start, be sure you have Node installed. If you are on Mac, I suggest using Homebrew to install it. When you have node installed, install bower:

npm install -g bower

Running

You can start the application locally by running:

mvn package spring-boot:run

Open http://localhost:5000 in your browser and log in with "user"/"user"

Production

For a production optimized version, run with the production profile. This will run vulcanize on your HTML imports to bundle them all into one file.

mvn clean package spring-boot:run -Pproduction

Resources for Polymer development

References

http://technicalrex.com/2015/02/20/stateless-authentication-with-spring-security-and-jwt/ http://blog.jdriven.com/2014/10/stateless-spring-security-part-2-stateless-authentication/ http://kielczewski.eu/2014/12/spring-boot-security-application/

About

Full stack Spring Boot + Polymer example application with JWT token authentication.

Resources

Releases

No releases published

Packages

No packages published