Git Product home page Git Product logo

spring-data-rest-webmvc's Introduction

Spring Data REST Exporter Example

This deployable web application is an example project that illustrates how to deploy your own artifacts into a WAR that uses the Spring Data REST Exporter.

Use

Either use this project as a template for your own project, or simply include your own artifacts as dependencies in the build.gradle file.

The easiest way to get going with the REST exporter is to simply run the embedded Tomcat servlet container:

./gradlew tomcatRun

This will expose a server at http://localhost:8080/spring-data-rest-webmvc/. Issue curl requests to find out what services are available.

Alternatively, you can build a WAR file using ./gradlew war, and deploy that into your servlet container.

Loading dummy data for testing

If you want to play with some Person entities, there is a Ruby script in the root of the project named load_name_data.rb. It will load some random names from the names.txt file and create Person entities from them. You can then test the paging and sorting functionality by adding the appropriate URL parameters (information is in the wiki: spring-data-rest/wiki/Paging-and-Sorting).

spring-data-rest-webmvc's People

Contributors

jbrisbin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.