Files
spring-data-examples/web/querydsl/README.md
Christoph Strobl 97eefb0afc #124 - Added sample for Querydsl integration.
Move web project to web/example and add web/querydsl as a dedicated one demonstrating the QueryDSL Predicate usage in Spring MVC.
2015-08-04 15:47:52 +02:00

645 B

Spring Data Web - QueryDSL example

This example shows some of the Spring Data QueryDSL integration features with Spring MVC.

Quickstart

  1. Install MongoDB (http://www.mongodb.org/downloads, unzip, run mkdir data, run bin/mongod --dbpath=data)
  2. Build and run the app (mvn spring-boot:run)
  3. Access the root resource (curl http://localhost:8080/api) and traverse hyperlinks.
  4. Or access app directly via its UI (http://localhost:8080/).

Technologies used

  • Spring Data REST & QueryDSL & Spring Data MongoDB
  • MongoDB
  • Spring Batch (to read the CSV file containing the store data and pipe it into MongoDB)
  • Spring Boot