Here is a plugin for socket.io. The plugin is using basically strapio and will raise events on:
- CREATE, UPDATE, DELETE, BULKDELETE (DELETE as Array)
it will handle publishing and unpublish as CREATE and DELETE.
it works out of the box and because its using strapio it handles user permissions.
I tested it on
strapi 3.6.3 and works with socket.io 4.1.2.
we just updated STRAPIO for subscribe only mode. pls consider this there is no default behavior when you update strapio to version 2.
More details in README