Hi, i'm advanced with Laravel and I had a new start with Node.js. I am just a little bit lost on what I should do for my application and which technologies use.
I want to create a video game made of javascript (node.js app) and implement it in a laravel app. I want the use of laravel for viewing user (MVC model ) stats and diverse others informations. Also, I want to send data from database through the game itself in many small lobbies (ex. data from the player, experience with some video game character, etc.). Note that the application would be on a separated page from all the mvc thing.
The problem is, I dont very know if a laravel app can "host" a node.js app inside of himself aswell than sending data to it.
Thank you for helping me and sorry for my bad english too!
If you have a game (with Node.js and JS front-end) you could set Laravel up as an API and make REST calls to your Laravel API from the games node.js code. There is no easier way to "integrate" or "host" your game and Laravel together somehow :)
Ofcourse the Node.JS server and Laravel PHP server can run on the same server.
If you are going the API datastore route, you could also take a look at Lumen for that extra bit of speed.
Thank you stayallive, I understand now which path to take :) I didnt know that Node.JS server and Laravel could run on the same server. Thank you so much :)