https://github.com/soujava/cars-pagination-sample
https://github.com/soujava/cars-pagination-sample
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/soujava/cars-pagination-sample
- Owner: soujava
- License: apache-2.0
- Created: 2019-08-03T19:55:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T19:58:03.000Z (almost 6 years ago)
- Last Synced: 2025-01-27T10:45:05.556Z (5 months ago)
- Language: Java
- Size: 8.79 KB
- Stars: 1
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cars Services
A JAX-RS with MongoDB pagination demoA JAX-RS sample using [Payara Micro](https://www.payara.fish/software/payara-server/payara-micro/) implementation.
To run:
* `mvn -DskipTests clean package payara-micro:bundle`
* `java -jar target/cars-microbundle.jar`### execute the script
`sh cars.sh`
#### Enjoy the queries
* http://localhost:8080/resource/cars
* http://localhost:8080/resource/cars?page=2
* http://localhost:8080/resource/cars?page=4&size=5