#Just started laravel

34 messages · Page 1 of 1 (latest)

crimson rapids
#

Hello
I am a fullstack developer and a complete newbie in laravel.
I have developed many apps with js and express, but i have opted to use laravel due to its ability to be hosted on shared hosting services with cPanel. That is to my understanding at least.
So, my question is can i really develop fullstack laravel web apps/ apis and host them on shared hosting platforms like hostinger and similar sites? if yes, are there any downsides except the normal shared hosting disadvantages? also, what are some important packages/features/patterns i need to learn right from the start?

brisk hull
#

but i have opted to use laravel due to its ability to be hosted on shared hosting services with cPanel
While kinda true, it's also a pain in the bum. Laravel requires quite a specific set-up, as you'd need to point a document_root to the public folder of the Laravel app, not just serving all PHP files. Shared hosts also often come with lots of limitations, preventing the use of scheduling, queues, Reverb (websockets) and all kinds of other goodies Laravel offers.

tired flare
crimson rapids
tired flare
#

it gets me wondering which clients you're taking that can't afford $5, but if you're looking for the cheapest backend take a look at pocketbase

#

pair it with astro, i cant think of most affordable stack than that

crimson rapids
#

it's not a matter of being able to afford it, but the cheaper the more attractive it sounds. Also, the vps isn't expensive, it's the $30/month databases that are ridiculous, but i guess those types are for massive projects.

tired flare
#

$30/month database?

crimson rapids
#

yes, on aws

#

what was its name!? can't remeber

tired flare
#

yes, for managed database. you can also host it on vps

crimson rapids
#

THIS you can also host it on vps

#

i always wondered if i should do that

#

can i just install a mysql db and web app on the same vps with no problems?

tired flare
#

yes

crimson rapids
#

i searched long and deep about that, but everyone says to not do it!?

tired flare
#

i've been using only railway nowadays, it's a good and affordable platform, for low traffic app + database ends up being less than $5/month

crimson rapids
#

gonna check it now

#

please tell me i can use express and mysqldb on the same lightsail instance and i am happy 😄

tired flare
#

i don't know if you can in the same in lightsail, but you sure can in two, so $10

crimson rapids
#

does it have to be 2? why not just one more powerful instance?

#

i feel like this should be fine for both?

tired flare
#

i don't know how lightsail works

crimson rapids
#

or maybe this

#

it's just a linux vps

tired flare
#

yes, but i dont know if you can host multiple services in one instance

#

just try, if you cant in one you'll sure can in two

crimson rapids
#

you can, it's a computer on the cloud. so basically a linux that you own online

#

i have hosted multiple apis and my website on one instance before

#

i think i will just try to do that

#

thank you so much for your help

#

you're a life saver