This React application showcases the request batching feature of @styra/opa-react
when used with the Enterprise OPA Batch API.
- Set
$EOPA_LICENSE_KEY
- Run
docker compose up
- Go to http://127.0.0.1:4000
- Download Enterprise OPA
- Set
$EOPA_LICENSE_KEY
or sign up for a trial by runningeopa license trial
- Start Enterprise OPA with the
policies
loaded:eopa run --log-level debug --server policies/
- Start the app:
npm install && npm run start
- Go to http://127.0.0.1:3000
You can use the demo app with the open source Open Policy Agent, however batching mode will not work.