npm i https://github.com/woutslabbinck/Solid-Agent --save-dev
Solid Sync Demo
# set up a Solid server
npx @solid/community-server -c @css:config/file-no-setup.json -f ./data
# create a state resource
curl -X PUT -d "". http://localhost:3000/state -H "content-type: text/turtle"
You will see that two resources wil be created http://localhost:3000/random and http://localhost:3000/test, which both contain the exact same content as http://localhost:3000/state which you just updated.
That is due the simple demo agent executing following rules, which will execute the fnoUpdateSolidState plugin.
Start with the following
Install project
Solid Sync Demo
execute following code
Execute a curl request to change the
state
resourceYou will see that two resources wil be created
http://localhost:3000/random
andhttp://localhost:3000/test
, which both contain the exact same content ashttp://localhost:3000/state
which you just updated.That is due the simple demo agent executing following rules, which will execute the
fnoUpdateSolidState
plugin.