rsql-jpa-specification is a library that translates RSQL (RESTful Search Query Language) queries into Spring Data JPA Specifications or QueryDSL Predicates. It supports complex queries including entity associations, JSONB fields (PostgreSQL), custom operators, property mapping, and sorting. The architecture consists of core parsing utilities (rsql-common), JPA-specific implementations (rsql-jpa), QueryDSL implementations (rsql-querydsl), and Spring Boot starters for easy integration. The library uses the visitor pattern for RSQL parsing and CriteriaBuilder/QueryDSL APIs to construct specifications and predicates.
This repository is a Spring Boot training/courseware package rather than a production service. It consists of five independent, runnable Spring Boot applications under com.kousenit (demo, restclient, persistence, shopping, springai), accompanied by lab workbooks (labs.md, advanced-labs.md), course slides (slides.md), and CI workflows. The code demonstrates current-generation Spring and Spring Boot patterns: MVC and REST controllers, Java records for DTOs, RestClient and HTTP interfaces, JdbcClient and JPA data access, AOP aspects, RFC 7807 exception handling, and Spring AI chat clients. Although the dominant character is application code, it is educational example code, not a deployed system.
This repository is a sample Spring Boot application that demonstrates custom JWT token-based authentication for protecting RESTful APIs. It provides a vehicle CRUD API (via both a custom controller and Spring Data REST), a user authentication endpoint (/auth/signin), and a user info endpoint (/me). The architecture follows a standard Spring Boot monolith with Spring Security, Spring Data JPA, and Spring HATEOAS. The custom JWT implementation is encapsulated in a JwtTokenProvider and a JwtTokenAuthenticationFilter, which extract, validate, and set authentication from JWTs. The codebase is modern, using Spring Boot 3.x, Jakarta EE, Java 21, and the latest JJWT library. It includes unit tests, integration tests, and a docker-compose file for PostgreSQL. While the core functionality is straightforward and typical for such samples, the separation of JWT logic into reusable components and the use of Spring Boot 3.x best practices make it a solid reference implementation. It is primarily an application with no data research elements.