Skip to content

smatsutska/spring-data-rest-datatable-example

 
 

Repository files navigation

Spring Data - REST integration with Datatables

This project demonstrates the basic functionality of integrating Spring Data - REST with the Datatable jquery plugin. The original blog post can be found at solutiondesign.com

Getting Started

This project required Maven. To start the application, type

mvn jetty:run

The application will start, persisting data to an in memory database. To populate the Customers table, you can use curl:

curl http://localhost:8080/sdgBlog/rest/customer -d "{\"name\":\"John Smith\"}" -H "Content-Type: application/json"

Also, load_names.rb file is provided, that will load the database with the contents of names.txt

To see the datable in action, point your browser to http://localhost:8080/sdrdemo/index

The full writeup is found at spring-data-rest-datatables.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.9%
  • ApacheConf 5.0%
  • Other 1.1%