Move web project to web/example and add web/querydsl as a dedicated one demonstrating the QueryDSL Predicate usage in Spring MVC.
645 B
645 B
Spring Data Web - QueryDSL example
This example shows some of the Spring Data QueryDSL integration features with Spring MVC.
Quickstart
- Install MongoDB (http://www.mongodb.org/downloads, unzip, run
mkdir data, runbin/mongod --dbpath=data) - Build and run the app (
mvn spring-boot:run) - Access the root resource (
curl http://localhost:8080/api) and traverse hyperlinks. - 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