We are very familiar with Google event reminder, we get email or other kinds of notification before the actual event. It is really helpful, since we are very busy with our day to day activity. But how can we implement this for our self using awesome features of Laravel. Here are the basic steps we can follow to create a simple notification scheduler. Though we can configure the scheduler in more sophisticated way, but we will just focus on basic.
To create a command you can run:
php artisan make:command MeetingReminder
set the signature of the command like:
Modern front-end frameworks like React, Vue, and Angular has changed the way our web looks like today. A maximum of them are using a component-based approach. But communication among the components is an important part. The way components communicate and share state with each other, defines their success story. To create maintainable software by separating different parts of logic and state into dedicated components is a bit tricky.
User authentication & authorization is one of the important part of any web application. There are several kinds of way to handle authentication, we can rely on third party service like Passport. But in this article we will use very simple & self developed approach, which will help us to understand core part of authentication.
To create basic structure for different kind of endpoints like registration or login we will use express as router. And we will create a folder for routers.
In routes folder we will create a file…
Developing application for multiple platform (web & mobile) with single source of back end, require APIs or web services. Keeping APIs call safe and authenticated is important to protect the data being transferred between application to application. We are going to use Laravel Passport which allows us to authenticate APIs. For role/permission we will use Laravel-Permission.
Our final implementation will be a simple blog. First we will create new laravel project
laravel new blog
In blog we will have 2 types of user:
Install Passport: In command line go to the blog directory
Sr. Software Engineer, Cefalo