Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
frontend Add pagination support Oct 22, 2015
src Rename class back to its old name Jul 17, 2017
.gitignore Rename the build directory from "_public" to "build". May 16, 2015
LICENSE Add Apache License, Version 2.0 Dec 7, 2014
README.md Add sorting examples. Aug 9, 2015
pom.xml Protect API by using Spring Security Jul 23, 2015

README.md

This blog post is the example application of the following blog posts:

Note: This application is still work in progress.

Prerequisites

You need to install the following tools if you want to run this application:

Backend

  • JDK 8
  • Maven (the application is tested with Maven 3.2.1)

Frontend

You can install these tools by following these steps:

  1. Install Node.js by using a downloaded binary or a package manager. You can also read this blog post: How to install Node.js and NPM

  2. Install Bower by using the following command:

    npm install -g bower
    
  3. Install Gulp by using the following command:

     npm install -g gulp
    

Running the Tests

You can run the unit tests by using the following command:

mvn clean test -P dev

You can run the integration tests by using the following command:

mvn clean verify -P integration-test

Running the Application

You can run the application by using the following command:

mvn clean jetty:run -P dev

Credits

Known Issues

  • If you refresh the login page, you aren't redirected away from it after successful login.