Single Page App with Livewire and InertiaJS

I really like to create app using Laravel and other frontend framework. At first Im too excited with vuejs because for me its easy and developer friendly. You do not have to deal with Vanilla Javascript or JQuery. Yeah I know JQuery is very good and my best friend for a long time. But web development moved really fast and if you do not look around you will left behind.

Im working on side project and I was on hard time to decide which one to use between two great projects. Between InertiaJS and Livewire Laravel.

I actually write a good lines of code using InertiaJS and Laravel but as we all know InertiaJS is using vuejs and other frontend framework. There is nothing wrong with vuejs because it is very powerful.

And today I guess I really want to create the app using a server side code with less if no Javascript to deal with.

So I decided to stop coding with InertiaJS and go with Livewire Laravel.

It is really up to you what framework you want to use. If you like to use using vuejs or other framework then go with InertiaJS.

But for me I really like to code using Javascript free if possible.

Using Laravel Valet and ngrok

One of the things we do as web developer is testing the call back or web hook of web services of API.
When we develop API of PayPal, Braintree and other payment gateways, we need to check for Webhook.
When we are testing API webhook, is not so good if we change code and then upload to our test server.
May be its much better if we change our code locally and call our web hook that point to our local server.

https://ngrok.com is one of the solutions we can use. I think there are a lot of tools out there but its the tool
that I use for now.

Its so easy to install and use https://ngrok.com

Just download the app and run some code.

You better check the docs https://ngrok.com/docs for more info.

If you are using Laravel Valet then its much easy

Using your terminal navigate to your app and run

valet share