Search Function on database

I need to replicate the example from the video above, basically a search + filter for database using the repeater. i am not very good with code but some more example would be very helpful i think.
Regarding the code somebody gave this code: Totally Codable - Trusted Velo Community. Thanks.