If you are currently working on an app with React Native and you are using Laravel as your backend, you have probably encountered this problem.
And this article will help you solve this problem with just ONE SIMPLE TRICK.
We all know how to start a Laravel server with the simple php artisan serve command and that’s the problem.
By starting your Laravel app like that it creates a link for your app which is localhost:8000 (the port may be different for you, it might be 3000, 8080 or anything else but we will use 8000 for this tutorial).
If you are young, you just finished high school and you’re looking for a future career, you’re at the right place, but if you’re old, unhappy with your current career or you’re just passionate about software development, you’re at the right place!
As a kid I didn’t really know what I wanted to do after finishing school, I didn’t have a plan or a clear goal in mind, I just knew that I liked computers and I was enjoying discovering new things about them and doing what other people couldn’t do. …
Self taught programmer, PHP Web developer, lover of technology and programming.