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.

Install Linux, Nginx, MySQL, PHP (LEMP stack) in Ubuntu 16.04

So you want to install LEMP in your server. In my experience, when I want to set up server for my web app I always install LEMP stack. Sometimes it will consume a lot of your time.

So I created a simple script that we can run to install all packages required for our server.

Login to your Ubuntu server using SSH

Download the file and make it runnable

https://gist.github.com/mannysoft/e4b54662b3aec5c0b1b88be52177ab68

Make the file runnable

chmod +x install.sh

Run the script

./install.sh