Mohd Saqueib wrote a nice tutorial on how to build API for Twitter like app using GraphQL in Laravel.

laravel api

Demo

demo