If you have SSH Acces to run commands like: npm install, build, and you have permissions to install nodejs, it have to work.
Can react run on IONOS web hosting?
Can I run react front end on IONOS? I know you can run laravel on IONOS but not sure if I can use react as the front end
If you are using Plesk via a VPS or a dedicated server then you certainly can do all of the npm commands through it, In fact there is a Laravel Toolkit which you can use and it will allow you to do all of the npm commands as well as cron/ composer and the whole lot.
Once you purchase a VPS or Server from them you just need to contact their support to install plesk on it.
@marian-andreiasi @codenathan thank you both for the suggestions. I’m on IONOS shared web hosting. I do have ssh access and can run PHP artisan and composer commands but I don’t think it has nodeJS on it
@knached99 I wouldn't be too optimistic. Most of the issues you'll have will be down to permissions. Shared hosting is a bit limited for obvious reasons. I'd look at something like Netlify.
@codenathan If I'm able to run php artisan and composer through SSH on my shared hosting instance, am I able to have a REACT JS front end and keep my laravel backend? On production, do I need to run npm run start or npm run build ?
@knached99 You can run npm run prod locally and add the built files to your code repo
@knached99 Why don’t you try? 🤷♂️
If you have SSH access, it’s not exactly difficult to run which npm is it?
@martinbean Yep you're right
@knached99 you can do it through the laravel toolkit as well.
@CodeNathan Can you please share the link to that? And I'm specifically asking about IONOS since I have subscribed to one of their plans.
@knached99 https://www.ionos.co.uk/servers/vps#packages I bought one of these VPS packages and told Ionos to install Plesk on it through their support (it's free). Let them do the installation and tell them to install all the keys with automatic renewal then you'll have to install the Laravel Toolkit extension
@knached99 Did you try SSH-ing into the server and seeing if npm was actually available like I suggested a week ago…?
Please or to participate in this conversation.