In this video, I demonstrate how to create Flutter Laravel Auth and create a login, register, and logout API using Laravel for Flutter. This tutorial will teach you how to create a flutter laravel App using laravel API. Watch each step carefully to learn how to implement laravel API in flutter.
Flutter App Source Code: https://github.com/umairshah143/Flutt...
Laravel API Source Code: https://github.com/umairshah143/api
Chapters:
00:00:00 - Demo and Info
00:00:34 - Create a New Laravel Project
00:01:39 - Setup Database, Database Table for user, migration and Create Controller
00:04:06 - Create function Register User using Laravel API
00:07:13 - Create function Login User using Laravel API
00:10:47 - Create a route in Laravel for login and register
00:12:15 - Test Laravel API in the Postman API tool
00:13:53 - Host Laravel API on the server
00:20:10 - Create HTTP Post Request in Flutter
00:23:23 - Create Register Function to Register User from App using Laravel API
00:27:27 - Create Login Function to Login User from App using Laravel API
00:29:07 - Add Shared preferences package to store login State
00:32:50 - Get user data from Shared Preferences
00:36:52 - Maintain user login state
00:40:15 - Add a Logout option to the App using HTTP PHP Laravel API
00:42:39 - Check Full Login Register and out with Auth State Maintenance