Crnk comes with two kinds of examples detailed in the subsequent sections.

Main Example

The main example application showcases an end-to-end example with Crnk, Angular, Spring Boot, @ngrx/store and ngrx-json-api.

The main example application can either be run with docker:

docker run --name=crnk -p 8080:8080 crnk/example
or by checking it out and run with Gradle:
./gradlew run
More information and example URLs that show the power of Crnk are available here. A number of URLs to play around (there are more on the example page):

http://127.0.0.1:8080/ Angular frontend application.
http://127.0.0.1:8080/api/ JSON Home document provided by crnk-home listing all repositories.
http://127.0.0.1:8080/api/browse/ crnk-ui allowing to browse all repositories.
http://127.0.0.1:8080/api/votes Simple in-memory repository with an artificial delay (VoteRepositoryImpl.java).
http://127.0.0.1:8080/api/movie MovieEntity JPA entity exposed as repository with crnk-jpa. See ModuleConfig.java.
http://127.0.0.1:8080/api/schedule ScheduleEntity Another JPA entity exposed as repository with crnk-jpa. See ModuleConfig.java.
http://127.0.0.1:8080/api/schedule?filter[name]
[GT]=schedule1&page[limit]=3&sort=-name
Sorting, filtering and pagination. Notice the total resource count in the meta data and the various pagination links.
http://127.0.0.1:8080/api/scheduleDto ScheduleEntity mapped to ScheduleDto and exposed as repository. Notice the additional computed attribute upperName. For the setup checkout ModuleConfig.java.
http://127.0.0.1:8080/meta/resource Meta data of all resources provided by crnk-meta. Have a look also at the relationships, such as to the attributes.

Integration Examples

Smaller example applications outlines the integration of Crnk into various frameworks like Dropwizard, JEE and Spring Boot, see crnk-examples.