Let’s create a new Laravel project using composer by entering the following command to the command line interface.
composer create-project — prefer-dist laravel/laravel laravel-react
Change the current working directory to our new Laravel project.
Let’s set the preset to React.
php artisan preset react
Finally, let’s install the dependencies for React.
That’s how simple it is to use React in a Laravel Project.
I recently created my personal website and noticed a “Not Secure” tag on my web browser’s url bar when I accessed it the first time. This does not look good for any website, now does it?
An SSL Certificate is required to make the requests between clients and servers secure. Accessing any website that does not have an SSL Certificate will show a “Your connection is not private” warning or something like that.
I created an SSL Certificate for my website using Let’s Encrypt.
Now, there are many ways to redirect HTTP request to HTTPS. One of the easiest and…