once you have local spicedb up , you could use one...
# spicedb
a
once you have local spicedb up , you could use one of the preferred client libs to that effect.
https://github.com/authzed/authzed-node
. Client would need you to have
const client = NewClient("sometoken", "localhost:50051", ClientSecurity.INSECURE_LOCALHOST_ALLOWED);