Video by Joel Loh | AI Automations · streamed from YouTube. All rights remain with the creator.
Lesson 11: Querying and Displaying Posts
About this lesson
In this part of the series, Joel Loh shows how to query the Supabase database and display the results inside FlutterFlow, so that the posts users have uploaded appear in the photo-sharing app's feed. It begins by introducing components, reusable pieces of the interface that can be designed once and used in many places, and turns the post design into a component that can display any post. The video then displays posts by adding a Supabase query, so that the page fetches the posts stored in the database and generates the interface for each one automatically. A first test checks that the query is working and that posts are being retrieved and shown in the app. With the posts appearing, the video then displays the data of each post properly, connecting the image and the other details stored in the database to the matching parts of the post component, so that every post in the feed shows its own photo and information rather than placeholder content. A second test confirms that the feed now reflects the real data in Supabase. A recap at the end summarises how components and queries work together to turn a static design into a dynamic feed. By the end of the video, the app's feed is powered by real data from Supabase, and the next parts build onboarding pages and further features that make the app feel complete. The approach shown here is the pattern used throughout the rest of the series. Afterwards, read Chapter 11 of the course book, which works out how page size affects requests by hand.