Node-Red Embedded into a (Php Laravel + VueJS) App

732 views
Skip to first unread message

Julien TALBOURDET

unread,
Jun 21, 2017, 1:43:38 AM6/21/17
to Node-RED
Hello,

I rechearch a solution to embedde Node-Red into a php application with the same authentication.
I actually use the Laravel framwork for the backend and the VueJs for the front.

Please, could someone help me?

Julian Knight

unread,
Jun 21, 2017, 1:58:33 AM6/21/17
to Node-RED
We need more information on what you are trying to achieve. There are many possible solutions.

One way would be to add websockets to your PHP/Vue application and talk directly.

Julien TALBOURDET

unread,
Jun 21, 2017, 2:03:33 AM6/21/17
to Node-RED
I would embedded the node-red editor and also the node-red dashbord.
I would the user has to login on my app and has the the access to the node-red in an iframe for exemple.

Julien TALBOURDET

unread,
Jun 22, 2017, 12:48:53 AM6/22/17
to Node-RED
Please could someone help me ?

Julian Knight

unread,
Jun 22, 2017, 12:00:55 PM6/22/17
to Node-RED
The security settings are here: http://nodered.org/docs/security

The setting httpNodeMiddleware allows you to plug in authentication for the http in node.

You could also embed node-red into your own node.js/ExpressJS app.
Reply all
Reply to author
Forward
0 new messages