Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jamalali's avatar

Hosting a Laravel, Lumen API, Vue.js system

I am currently developing a web-based business system for a small manufacturing company. The system will be a public facing website, a password protected admin website and an api. Here is a link to an low-level diagram to explain the propsed system:

https://tinyurl.com/y5mctyos

My question is regarding hosting. What is the best hosting solution? Which hosting providers are capable of handling up-scale?

My idea is to have the front-end website, the api and the back-end admin website all on their own ip address. The back-end will be doing a lot of heavy work like sending out emails and watching for live changes to orders and I want the api to be as quick as possible so I want that well away from the back-end server. The front-end I'm thinking will just be front-end code without any server-side scripting.

Is this the best way to set this up? Feel free to suggest an alternative model, I'm all ears.

0 likes
3 replies
jlrdw's avatar

I want the api to be as quick as possible so I want that well away from the back-end server.

Is the API a completely separate application.

Otherwise there is no such thing as having the API well away from the back end.

The back end is where data is derived from and sent via whatever means.

And the front end I'm not quite sure I understand.

A front end is basically nothing but static data until you do something with it.

For example take the page you are looking at right now on this forum.

Okay now take a reply in the text area. It is nothing but a text box sitting in the browser doing nothing.

The back end comes into play once you hit that post button.

Basically a front end is meaningless in that it doesn't matter what you use for a front end it boils down to it's always HTML.

You can choose from all types of various packages, libraries for front end tooling, but it's still just static data waiting to be acted upon.

Many folks get confused between the terms front end versus front end manipulation. In which front end manipulation has a lot and more to do with looks and feel, but has little or nothing to do with the actual data sent to the back end to be inserted or updated, whatever the case may be.

You could have a plain Jane front end kind of like the out of the box laravel login or all types of Fancy controls, dropdowns, sliders, some pretty widget, or whatever, the back end and the database could care less about such things, its goal is to Crunch data not be pretty.

So in my opinion your main first goal should be concentrating on an efficient database manipulation and management system, not a pretty front end, that can come later.

As far as hosting you probably need dedicated servers with load balancing. Is it a big enough company to have their own servers.

But for a business application I wouldn't try at first to set all this stuff up yourself, either hire a consultant or see if your dedicated server company has experts to help set this stuff up correctly.

I would not just trust any Forum answers on this, get an expert.

jamalali's avatar

@jlrdw Thanks for that info. Yes, I've not even started on the front-end yet. I've been working on the admin system, which is a Laravel installation. Parts of the admin system consumes the api, which is a seperate Lumen installation.

Which hosting provider can you recommend? Yes, I don't have the knowledge to set something up myself and at the monent I don't have the time to learn how to do it. So a dedicated server company is the way I'll go with this for now.

jlrdw's avatar

There's AWS there's digitalocean, etc.

Definitely go with a set up that can provide good load balancing, and scaling.

Taylor has the product called vapor which is supposed to be pretty good at aiding in server setup, have a look at that also.

https://vapor.laravel.com/

Also you could consider using laravel for everything.

1 like

Please or to participate in this conversation.