Strapio

screenshot of Strapio
strapi

Socket.IO Implementation for Strapi

Overview:

StrapIO is a module for working with socket.io with predefined rules. It allows you to easily implement Role permission on every action. StrapIO identifies all roles that have access to a given content type and action type.

UPDATE v2: In order to receive any data, you need to subscribe first by emitting the 'subscribe' event with the content type as its argument (e.g. socket.emit('subscribe', 'article')).

If you are using Strapi v3, make sure to install StrapIO v2 as version 3 is not compatible with Strapi versions below 4.

Features:

  • Easily work with socket.io
  • Predefined rules for Role permission on actions
  • Subscribing to receive data
  • Compatible with Strapi v4
  • Debugging support

Summary:

StrapIO is a useful module for working with socket.io in conjunction with Strapi. It provides predefined rules for Role permission on actions and allows easy implementation of socket.io in your project. Make sure to follow the installation steps and take advantage of debugging support if needed.

strapi
Strapi

Strapi is an open source headless CMS that provides a customizable content management system and API for your projects. It allows you to manage content in a visual interface and use a REST or GraphQL API to retrieve the data.