This tutorial helps you to have a clear view on how to create API. This tutorial shows you how can you create authentication as well as it also shows you a common migration problem. This tutorial has used laravel 5.6 version so that user can be up to date with the latest version for using api.