Notes API implementation in Laravel