This is an example implementation, how to implement a REST Feed Endpoint with Spring Boot and the restfeed-server-spring library.
The example implementation uses an embedded H2 database and connects with plain JDBC.
A themoviedb.org file export is used to populate data. The first 10.005 entries are imported.
You can retrieve the demo feed under https://example.rest-feeds.org/movies.
curl -H 'Accept: application/json' https://example.rest-feeds.org/movies
curl -H 'Accept: application/json' https://example.rest-feeds.org/movies?offset=2001
curl -H 'Accept: application/json' https://example.rest-feeds.org/movies?offset=10006
curl -H 'Accept: text/xml' https://example.rest-feeds.org/movies