Laravel: Create Public API with Cache and Rate Limits

Опубликовано: 12 Июль 2021
на канале: Laravel Daily
46,068
2.3k

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: https://laravel.com/docs/8.x/eloquent...
- Cache in Laravel: https://laravel.com/docs/8.x/cache
- Rate Limiting in Laravel 8: https://laravel.com/docs/8.x/routing#...

- - - - -
Support the channel by checking out our products:
- Enroll in my Laravel courses: https://laraveldaily.teachable.com
- Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
- Purchase my Livewire Kit: https://livewirekit.com
- View Laravel Code Examples: https://laravelexamples.com
- Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter


Смотрите видео Laravel: Create Public API with Cache and Rate Limits онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Laravel Daily 12 Июль 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 46,068 раз и оно понравилось 2.3 тысяч людям.