Skip to content

sannonaragao/hiperboot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hiperboot Example

Overview

Hiperboot is a versatile library designed to simplify executing queries in Hibernate, compatible with various SQL databases. This example application demonstrates the use of Hiperboot for retrieving lists or pages of data filtered and sorted according to specified criteria using Spring Data.

Installation

  1. Clone the Hiperboot example repository:
    git clone https://github.com/sannonaragao/hiperboot-example
  2. Navigate to the project directory and build the project:
    gradle clean build

Running the Application

Usage

Endpoints

  • Paginated Books (/books-paginated):

    • Retrieves books with pagination.
    • Curl Example:
      curl -X 'POST' \
      'http://localhost:8080/books-paginated' \
      -H 'accept: */*' \
      -H 'Content-Type: application/json' \
      -d '{ "author": { "id": 2 }, "price":{ "from": "12" }, "_page": { "offset": 0, "limit": 5, "sort": "-title" } }'
  • Books List (/books-list):

    • Retrieves a list of all books without pagination.
    • Curl Example:
      curl -X 'POST' \
      'http://localhost:8080/books-list' \
      -H 'accept: */*' \
      -H 'Content-Type: application/json' \
      -d '{ "author": { "id": 2 }, "price":{ "from": "12" }}'

Support and Documentation

For more details on the main Hiperboot project, or just to leave a star/thumbs up, please visit:


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages