Golang Rest API – Pagination, Search & Sorting using MySQL



Golang Rest API – Pagination, Search & Sorting using MySQL

Golang Rest API - Pagination, Search & Sorting using MySQL

👉 Check our website: https://scalablescripts.com

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.

Source Code: https://github.com/scalablescripts/go-search-mysql
MongoDB Version: https://youtu.be/yObwJgoXR7o

This video can be combined with other videos:
React & Golang Lazy Loading, Search & Sorting using MySQL: https://www.youtube.com/playlist?list=PLlameCF3cMEs2-6APSQ484wlGeoyGXWAy
VueJS & Golang Lazy Loading, Search & Sorting using MySQL: https://www.youtube.com/playlist?list=PLlameCF3cMEsF9wwhX5PsLswUfIAw7rKm
Angular & Golang Lazy Loading, Search & Sorting using MySQL: https://www.youtube.com/playlist?list=PLlameCF3cMEtNW0VV6xa8OpuxlEEWFcnX
NextJS & Golang Lazy Loading, Search & Sorting using MySQL: https://www.youtube.com/playlist?list=PLlameCF3cMEvIqU3oi4SPJPE6n1BSPoW5
NuxtJS & Golang Lazy Loading, Search & Sorting using MySQL: https://www.youtube.com/playlist?list=PLlameCF3cMEsh_LXIoIl7B2UdzcnOUweb
Svelte & Golang Lazy Loading, Search & Sorting using MySQL: https://www.youtube.com/playlist?list=PLlameCF3cMEs65qB1upyhgB_Fc5YFFOgZ

Check more tutorials:
Get access to all my courses for 15$/month: https://scalablescripts.com/p/membership

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

Comments are closed.