#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.
This commit is contained in:
Christoph Strobl
2015-07-20 16:12:27 +02:00
committed by Oliver Gierke
parent a999bed747
commit 97eefb0afc
32 changed files with 3159 additions and 57 deletions

17
web/querydsl/README.md Normal file
View File

@@ -0,0 +1,17 @@
# 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