Appendix B: Spring Data REST example projects
This appendix contains a list of Spring Data REST sample applications. The exact version of each example isn’t guaranteed to match the version of this reference manual.
To get them all, visit https://github.com/spring-projects/spring-data-examples and either clone or download a zipball. This will give you example apps for ALL supported Spring Data projects. Simply navigate to spring-data-examples/rest . |
|
---|---|
Multi-store example
This example shows how to mix together several underlying Spring Data projects.
Projections
This example contains more detailed code you can use to poke around with projections.
Spring Data REST + Spring Security
This example shows how to secure a Spring Data REST application in multiple ways with Spring Security.
Starbucks example
This example exposes 10843 Starbucks coffee shops via a RESTful API that allows to access the stores in a hypermedia based way and exposes a resource to execute geo-location search for coffee shops.
Version 2.5.2.RELEASE Last updated 2016-04-06 22:31:02 MESZ
Illegal HTML tag removed : prettyPrint()
Illegal HTML tag removed : var _gaq = _gaq || []; var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push( ['_require', 'inpage_linkid', pluginUrl], ['_setAccount', 'UA-2728886-23'], ['_trackPageview'], ['b._require', 'inpage_linkid', pluginUrl], ['b._setAccount', 'UA-2728886-19'], ['b._trackPageview'] ); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
Illegal HTML tag removed : function detectLastFrame() { var thisF = this.window; var allF = parent.top.frames; return allF[allF.length - 1] == thisF; } // Only inject the following code if this is a normal page or the last // frame of a frameset. if (parent.top.frames.length == 0 || detectLastFrame()) { // Inject the SpringSource search widget too. document.write(unescape("%3Cscript src='http://search.springsource.org/widget/searchtool.js' type='text/javascript'%3E%3C/script%3E")); // Inject the Eloqua code //document.write(unescape("%3Cscript src='/elqNow/elqCfg.js' type='text/javascript'%3E%3C/script%3E")); //document.write(unescape("%3Cscript src='/elqNow/elqImg.js' type='text/javascript'%3E%3C/script%3E")); }
Illegal HTML tag removed :