K
K
kharisergey2016-05-11 13:01:15
JavaScript
kharisergey, 2016-05-11 13:01:15

How to connect a NodeJS module to a Laravel project?

Hello.
A project is being developed on Laravel 5.2 + jQuery. Part of the functionality that is provided in the project is implemented as a standalone NodeJS module and must be connected to the Laravel project.
What is the best way to do this so that the firewood is not broken and everything is beautiful?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rustamka Vorontsov, 2016-05-11
@rmfordev

well, the node weighs on one port, the server works on another, what's the problem with sending requests?
if the node returns json format, then https://github.com/guzzle/guzzle

M
Muhammad, 2016-05-11
@muhammad_97

UNIX socket

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question