[](https://flattr.com/submit/auto?user_id=shoxrocks&url=http://sorst.net/github/angular-rest-springsecurity&title=AngularJS REST Spring Security Example&language=&tags=github&category=software)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=W9NAXW8YAZ4D6&item_name=Angular REST SpringSecurity Example Donation¤cy_code=EUR)
An example AngularJS Application that uses a Spring Security protected Jersey REST backend based on Hibernate/JPA.
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 news entries 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.
Make sure Maven >= 2.2.1 is installed on your system. Go into the project dir and type mvn jetty:run
, then point your browser to http://localhost:8080
.