Image by Markus Spiske — unsplash

Many applications are a mix of public and private pages. There are pages that are accessible to the general public while there are pages that are only opened to authorized users. These pages will require the user to login. Your React application will have to handle users logging in and directing them to the private pages if login is successful, or redirecting them if login is not successful.

In this tutorial, we shall be building a fullstack application (frontend and backend) using Laravel and React. We will focus more on the security architecture (authentication and authorization). For the backend authentication…


Image by Ferenc Almasi — unsplash

In this section, we are going to be kicking off with the react (frontend part of our application). In the previous section, we developed our REST API and tested the endpoints using postman. Firstly, we will start by creating a new react application, then we will install and configure all the dependencies needed for our application such as redux, react-router, material UI etc.

This is the second part of the tutorial, in case you are seeing this first. You can check the first section here. Just as we did for the first part of this tutorial, we are going to…


Photo by Ferenc Almasi on Unsplash

In this article, I will be showing you how you can deploy your React application on Vercel. React is one of the largest frontend frameworks used in Web Development today. Vercel is a cloud platform for static sites and serverless functions. It allows developers to host websites and web services that deploy instantly, and require no supervision and configuration. A few of the main advantages of Vercel are fast refresh, flexible data fetching, and easy integration with Github, Gitlab, and Gitbucket.

Luckily for us, Vercel has free plans for hosting static websites and single-page applications (SPAs). Be reminded that the…


How to get the app you worked so hard on into other peoples’ hands

Clouds
Clouds
Photo by CHUTTERSNAP on Unsplash

As a developer, there are times when you just need to quickly host an application online for testing — or even to show your progress to a client. In such cases, you may not necessarily need to buy a hosting service (yet) since you just need somewhere to host your application for testing purposes.

In this tutorial, we’ll be looking into hosting a Laravel application on Heroku free of charge.

Heroku supports various programming languages, such as PHP, JavaScript, Ruby on Rails, Python, etc. …


Let’s build a PHP API with a security layer built-in

Photo by Masaaki Komori on Unsplash.

The Laravel framework gives us a lot of things out of the box. One of such things is Authentication. Authentication and authorization are very important when designing an application. When coding an API, you should be able to authenticate users (finding out who the user is), authorize users (allowing a user to only access specific routes based on some privileges.

In this short tutorial, I am going to show how you can provide authentication for your API in Laravel. There are different ways of achieving this. Some of the ways are:

1. Laravel Authentication (Laravel’s built in Authentication)

2. Laravel…

JIMOH Mofoluwasho

Mechanical Engineer, Full Stack Developer (Laravel, Nodejs, React, React Native). I am a Software Engineer who likes building things.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store