Spring Boot MongoDB Pagination example with Spring Data

In previous post, we’ve known how to build Spring Boot Rest CRUD Apis with Spring Data MongoDB. In this tutorial, I will continue to make Pagination (and Filter) with Spring Data MongoDB and Pageable.

Related Post:
Spring Boot MongoDB CRUD example
Spring Boot @ControllerAdvice & @ExceptionHandler example

More Practice:
Spring Boot, MongoDB: JWT Authentication with Spring Security
Spring Boot Unit Test for Rest Controller
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example
– Validation: Validate Request Body in Spring Boot

Clients for this Server:
React with Material-UI / React with react-table v7
Angular 8 / Angular 10 / Angular 11 / Angular 12 / Angular 13 / Angular 14 / Angular 15
Vue with Bootstrap / Vuetify

Read More