Golang Rest API - Pagination, Search & Sorting using MySQL

preview_player
Показать описание

Learn how to filter, paginate and sort using Golang & MySQL. We will compare Frontend and Backend API Filtering with two different API Endpoints. One will be a simple endpoint where you return all the data, the other will be an endpoint where we will apply custom Pagination, Search & Sorting.

This video can be combined with other videos:

Check more tutorials:

Timestamps:
00:00 Preview
00:40 Setup
04:28 GORM with MySQL
07:33 Migrations
09:37 Seed the Database
15:19 Products Frontend Endpoint
16:42 Products Backend Endpoint
18:07 Searching Products
22:36 Sorting Products
24:23 Paginating Products

#go #golang #mysql
Рекомендации по теме
Комментарии
Автор

dont concatenate sql string like that its vulnerable to sql injections

ulisesbeltrangomez
join shbcf.ru