Michael-Gibbons / OSB

An Opinionated Full Stack Shopify App Boiler
MIT License
19 stars 2 forks source link

Add socket addon with socket.io #10

Closed Michael-Gibbons closed 1 year ago

Michael-Gibbons commented 2 years ago

use ws instead https://www.npmjs.com/package/ws

Michael-Gibbons commented 2 years ago

add osb cli create event for socket

Michael-Gibbons commented 1 year ago

Create register addons entry point

Michael-Gibbons commented 1 year ago

require every addon to export some TBD format like

{
  backend: {
    register: () => {}// some register function run on server start
  },
  frontend: {
    register: () => {}// some register function run on frontend app load
  }
}
Michael-Gibbons commented 1 year ago

will make into addon