Practical application of an iterative approach to evolving the persistence layer.
Suitable for focusing on contracts and business logic while evolving the data model.
Avoids overhead from schema management and complex deployments.
- Use Nitrite to move fast during early development.
- Stabilize the data model through iteration.
- Eventually, shift to PostgreSQL for production use.
- Optionally, continue to use Nitrite for fast and simple testing.
Build the application (production mode):
docker compose buildStart the application (production mode):
docker compose up -d --waitStop the application (production mode):
docker compose down -vRun the application (standalone mode):
quarkus dev '-Dapp.mode=standalone' '-Dquarkus.hibernate-orm.enabled=false'Run API tests:
docker run --rm -t -v ${PWD}:/workdir jetbrains/intellij-http-client -D explore.rest