Using SocketIO with Node/ Frappe

Hi all,

I have a node app that I’d like to use with Frappe/ERPNext and have it accessible via a page. Essentially I’d like to render it in the page in the main section or wherever, keeping the top bar and so on. The app injects things into the html and works like a Kanban board. The server-side actions will be handled through Frappe as normal (whitelisted functions via API).

What I’m wondering is if there is an example of something like this already in the framework that I can use to model the integration after? Just anything to point me in the right direction of something similar that exists.

Thank you :slight_smile:

@alec_ruizramon1 we use socketio for realtime communication

A node server is run with this as the app (using supervisor/honcho): frappe/socketio.js at develop · frappe/frappe · GitHub

Maybe we can have an app.js for node and then include multiple js apps using frappe hooks?


@rmehta ok, thank you!

I will get to work, still trying to wrap my head around it. Will hopefully have something that works to release to the community :smile: