I have created a Flutter
app with Laravel/MySQL
as the backend side.
I've got my api's
using the localhost:port
.
Everything works fine , using Xampp
.
Now , as you may have noticed this my first time trying to deploy my work , how can I deploy my server side(Laravel,MySQL) to any paid service ?
Then, how can I change the api
from localhost to an actual address valid everywhere using the app that will be deployed to Google Playstore
.
CodePudding user response:
you can use any hosting service like heroku, hostinger, aws basically you can use any and also with that hosting you will get an ip
for that hosting
and that ip will work every instead of local host
.
Yes that ip will also work in google play store app.
CodePudding user response:
Especially if you lack any experience deploying, consider using Laravel Forge https://forge.laravel.com. It is made for Laravel and will massively simplify the deployment and take a lot of configuration needs of your back.