9 Database resources
Kauri's database resources (often called DB resources) provide an easy way to expose database entities as RESTful resources.
Two implementations are provided:
- One that works on top of JPA (Java Persistence API, implemented by Hibernate and others)
- One that allows to mock database resources by creating JSON files on the filesystem. This is useful at early stages in the project, when the real database resources are not yet available. It can also be useful at later stages in the project, to experiment with new entities or to work on the front-end without access to the database.