Laravel: Create Public API with Cache and Rate Limits

What if you want to create an API endpoint that would be public for the whole world? In this video, I will live-code exactly that, including some performance and security measures. 00:00 Short intro 00:44 Step 1/4. Simple API Controller/Route 02:22 Step 2/4. Transform with API Resources 05:45 Step 3/4. Caching and Observers 10:27 Step 4/4. Throttle and Rate Limits Related links: - Eloquent API Resources: - Cache in Laravel: - Rate Limiting in Laravel 8: #rate-limiting - - - - - Support the channel by checking out our products: - Enroll in my Laravel courses: - Try our Laravel QuickAdminPanel: - Purchase my Livewire Kit: - View Laravel Code Examples: - Subscribe to my weekly newsletter:
Back to Top