An example AngularJS Application that uses a Spring Security protected Jersey REST backend based on Hibernate/JPA
Java HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download

README.md

angular-rest-springsecurity

Build Status Donate

An example AngularJS Application that uses a Spring Security protected Jersey REST backend based on Hibernate/JPA.

About

The projects aim is to demonstrate the Java implementation of a simple REST interface which is used by an AngularJS application. The following topics are covered:

  • A relational database that holds blog posts and users.
  • A REST service that exposes the data in the database.
  • Authentication and authorization against the REST service.
  • A Simple AngularJS application that allows users to view or edit news entries depending on their role.
  • A responsive design.

This project is just meant to be a demonstration, therefore it is neither well documented nor well tested. Use it to learn about the technologies used, but do not use it for productive applications.

Any feedback is welcome, and I will incorporate useful pull requests.

Technologies

Running

Make sure Java >= 8 and Maven >= 3.0 is installed on your system. Go into the project dir and type mvn jetty:run, then point your browser to http://localhost:8080.

License

The Apache Software License, Version 2.0