Bravo Studio Help Center
  • Get started with Bravo Studio 👏
  • Get Started
    • 🚀Create your first app
    • 🌟Bravo introduction
      • Get ready to create your app with ChatGPT
      • Create an app
        • Creating an app with Figma
        • Creating an app with Adobe XD
      • Duplicate an app
      • Delete an app
      • Replace linked Figma file
      • The app page
      • Sharing your app
      • Add an editor to your app
      • Fonts
        • Adobe XD - Supported fonts
    • 📱Bravo Vision previewer
    • ✨Unlock power features to create interactive apps
    • 🎓Help and tutorials
      • 📖App guide tutorials
        • Sample app tutorial: Your first binding
        • How to build a Fitness app with Bravo, Xano and RevenueCat
        • Foodgram: Social content sharing
        • Expedition journal: Write and share your adventures
        • My Subscriptions: Display data based on device ID
        • My Notes: using user ID and email from Firebase
        • My Store: Sell physical products with Bravo and Stripe
        • Titan: How to create a Smart Home App with No-Code?
        • n8n: Building an expense tracking app in 10min
      • 📺Learn with videos
      • 📚Learn with articles
      • 🗃️Browse by app feature
        • Save or "bookmark" a page
        • Backend search with Airtable
        • Backend search with Xano
        • Nested lists (list within a list)
        • Create and edit user profile (Firebase + Airtable)
        • Skeleton loader
        • Create albums in your app with Bravo Infinite images
  • Set up your design
    • 🖌️Get your Figma ready for Bravo
      • 🗃️Structuring the design: the layer hierarchy
      • 🪄Bravo Tags: adding functionality to the UI elements
      • 🧱The container
        • Setting up a container on Figma
        • Setting up a container on Adobe XD
      • 📲App navigation
        • Setting up app navigation on Figma
        • Setting up app navigation on Adobe XD
    • 🔌Bravo plugin for Figma
    • 💾Sample design files
    • 🤓Best Practices
  • App components
    • 📒Bravo Tags Master List
    • 🚪Menus
      • Modal Menu
      • Modal pages
      • Tabs Menu
      • Pop Up pages
      • Slide Menu
    • 🍞Pages
      • Modal pages
      • Pop-up pages
      • Swipe page
      • Transitions page
      • Page reveal animations
      • Page tabs
      • 🔮Stateful pages
    • 📦Containers
      • Swipe to delete
      • Top bar
      • Carousel slider
      • Aspect ratio relative to screen
      • Sortable List
      • Layer (sticky element)
    • 👋Intro & Onboarding
      • Intro page
      • Post-login page (Onboarding)
    • ⌛Loading experience
      • Loading page
      • Custom loading page
      • No loading
      • Preload
    • 📝Form & input fields
      • 👁️Password Visibility Toggle
      • 🩷Stateful input
        • ☑️Checkboxes (Multiple select)
        • ✅Required Checkbox
        • 🔘Radio buttons (Single select)
      • ⏳Input time Interval
      • 📄Dropdown selector
      • 🎚️Slider control
      • 🗓️Calendar picker
      • 📄Send form input to a database
    • 💎Components
      • Autoplay Video
      • GIF
      • SVG Component
      • Web view
      • Web Components using AI
      • Web view communication
      • LottieFile
      • Lottie-animated component
      • Flexible text (Flexo)
      • Zoomable image
      • Component states
      • Stateful component (like button)
      • Setting up the backend of Stateful component (like button)
      • Haptic Feedback (Buzzz)
      • Progress bar
      • Rich text
      • Date, Time and Currency Formatter
      • Scrollable text
      • Text Lines & Truncation
      • Status bar
    • ⚡Mobile actions
      • Mobile Actions
      • Play audio
      • Record audio
      • Play video
      • Scan QR code (external URL)
      • Scan codes (remote action)
      • Search & filter
      • Refresh page
      • Share location
    • 📱App Icon & Splash Screen
    • 🗺️Map with markers
    • 📈Charts
  • Data and Backend
    • 🗂️Set up a no-code backend
      • Xano
        • Nested lists (list > list > detail page) with Xano
        • Create a bookmark functionality with remote actions and device ID with Xano
        • Multi-user setup with Xano
        • 🔒Setting up the Xano Log in Snippet
          • ♻️Refresh Token
      • Airtable
        • Nested lists (list > list > detail page) with Airtable
        • Sort list with Airtable
        • Connect multiple tables from Airtable to one app
        • Update Airtable's API key to Access Token
      • Backendless
      • Bubble
      • Notion
        • Getting data from a Notion table
      • Firebase
        • Getting data from Firestore
    • 💾Set up API requests
      • Set up from scratch
        • Airtable
          • Set up an API GET request for list page - Airtable
          • Set up an API GET request for detail page - Airtable
          • Set up an API POST request - Airtable
          • Set up an API DELETE request - Airtable
        • Xano
          • Set up an API GET request for list page - Xano
          • Set up an API GET request for detail page - Xano
          • Set up an API PATCH request - Xano
          • Set up an API POST request - Xano
          • Set up an API DELETE request - Xano
      • Using GraphQL body type
      • Set up with API wizard & importer
        • Using the Airtable API Wizard
        • Using the Xano API wizard
    • 🎲Variables
      • Built-in variables
      • Set Variable
    • 📚Data Collection & Binding: Complete Collection
    • 🗂️Pagination
    • 🐛Debugging API issues
      • ⚙️Debugging requests in the API Collection
      • 📲Event logger
      • 🔗Link property
  • Data binding
    • 🤝Data binding types
      • API binding types
      • Bind multiple API requests to one screen
      • How to connect my API to a mobile actions
      • Remote actions: trigger an API request with a UI element
    • 💡Display data in your app
      • Bind data to design for a list page
      • Bind data to design for a detail page
    • 🆕Create data from your app
    • 🗑️Delete data from your app
    • 🚦Conditional Visibility
    • 🎛️Conditional Actions
  • Integrations & Settings
    • 🖇️Deep Links
      • 🖇️Deep Links for Bravo Vision
      • 🖇️Deep Links for published apps
      • 🖇️Troubleshooting Deep Links
    • 🔔Push Notifications with OneSignal
      • How to get a Bravo page URL
    • ⚙️Firebase Configuration
    • 🔐User Authentication
      • 🔑Authentication with Kinde and Xano
      • 🧙🏽Authentication with OAuth 2.0
        • Using social logins to authenticate users
        • Using AWS Cognito to authenticate users
        • Connecting to Spotify API
      • 📲User login with Firebase
        • ✉️Email and password Login with Firebase
        • 📞Phone Login with Firebase
        • 🍎Social Login with Firebase
        • 👻Anonymous Login with Firebase
      • ⛓️Authentication with custom backend
        • Set up Xano as your user authentication backend
    • 💰Stripe: One-time Payment
    • 💬Chat: CometChat
    • 💸RevenueCat: In-app purchases and subscriptions
    • 📉Bravo Analytics
    • 📳Facebook App Events
    • 📊Google Analytics
    • 🌐Multilingual apps
    • 🕸️How to connect with Webflow API
    • 📡NFC connection
    • 🎯Admob
  • App Publication
    • 🚀Publishing your app
      • iOS Publication: Complete Process
        • 1. Generate Certificates, AppIDs and Provisions
        • 2. Get the IPA
        • 3. Upload IPA to App Store Connect
        • 4. Test your app on TestFlight (optional)
        • 6. App Store publication
        • 7. Updating an app in the App Store
      • Android Publication: Complete Process
        • 1. Create a Keystore File (optional)
        • 2. Get the Debug APK to install
        • 3. Install the Debug APK in your device
        • 4. Get the AAB (Android App Bundle) file to publish
        • 5. Google Play publication
        • 6. Updating an app in Google Play
      • Android APK Installation Guide
      • Rejection from the app stores
    • 🎛️Making changes to your app after publication
    • 🛍️Versioning
    • 🌟App rating alert
  • Good to Know
    • 🤔Troubleshoot
      • Errors when logging in
      • Errors when creating an app
      • Errors in API requests
        • Request timeouts on Bravo
      • Errors after importing
      • Errors in publication form
    • 🧑‍💻Manage your account
    • 💳Billing
      • Bravo Subscription Plans Overview
      • App Add-ons
      • Upgrading a plan
      • Downgrading a plan
      • App allowance
      • Invoices & payment method
      • FAQ
    • ❓FAQs
      • About Bravo Studio
      • Importing a design file
      • Bravo Vision
      • Bravo Tags
      • API & Data Library
      • Login & Account
      • Other Features
  • NEED SOME HELP?
    • 📖Bravo Support Guide
    • 🤝Join the Bravo community
    • 🤖Bravo Assistant
    • 👥Production support
    • 🐞Report an issue
Powered by GitBook
On this page
  • ✨ Features
  • 💾 Resources
  • Design file: Figma
  • Data source: Airtable
  • 🏗 How to build it
  • Home feed
  • 🎨 UI setup
  • Add new post
  • 🎨 UI setup
  • Comments list
  • 🎨 UI setup
  • Add new comment
  • 🎨 UI setup
  • 📺 Webinar walkthrough

Was this helpful?

  1. Get Started
  2. Help and tutorials
  3. App guide tutorials

Foodgram: Social content sharing

PreviousHow to build a Fitness app with Bravo, Xano and RevenueCatNextExpedition journal: Write and share your adventures

Last updated 3 years ago

Was this helpful?

A social app for food lovers! This app has a feed of food photos and captions, the ability to create new posts and share existing, and comment on each post.

✨ Features

  • Feed (list of posts)

  • Share image on other apps

  • Add new post

  • List of comments for each post

  • Add new comment

  • Horizontal scroll of "stories"

  • Stories using Google Web Stories

💾 Resources

Design file: Figma

Duplicate this Figma file into your account and import it into Bravo directly. Includes: containers, Bravo tags in layer names, prototype links for navigation

Data source: Airtable

Open the Airtable and click Copy Base to duplicate to your account.

Database structure:

  1. Table Posts: Feed of photos & captions

  2. Table Comment: comments of every photo

Tip: Even though we use Airtable in this tutorial as our data source, you can use any third-party backend tool you want to store the data.

🏗 How to build it

Home feed

GET https://api.airtable.com/v0/TABLE_ID/Posts?view=VIEW_NAME

Displays the photos and captions in a list.

Query Parameters

Name
Type
Description

view

string

Display the photo feed list in the same order as the table.

Under Received Data, select the following 4 data paths in the screenshot below.

Note: Select "All" next to .data.records[] to select all the records of the table, rather than a specific row.

Change the Name of these two data paths. They will need to match the variables used later in the app page for creating a new post.

Data Path

Name

.data.records[].fields.Caption

caption

.data.records[].id

postid

Go to the app project and select the home screen to open data binding mode. Bind the following UI elements with the respective data.

UI element

Data

Post list (container)

Records[]

image

Records[]Fields.Image[0].Url

caption

caption

Send (share icon)

Records[]Fields.Image[0].Url

🎨 UI setup

In the Figma file, the Home screen page includes these features:

Add new post

POST https://api.airtable.com/v0/TABLE_ID/Posts

Creates a new record of photo and caption in the database.

Under the Body > JSON panel, input this:

 {
   "records": [
     {
       "fields": {
         "Caption": "${caption}",
         "Image":[
                {
                   "url":"${url}"
                }
             ]
          }
       }
    ]
 }

Under the Test Values panel, input this:

Key

Value

caption

test

url

https://cdn.shopify.com/s/files/1/2994/0144/files/header_default.jpg (or any image URL)

Hit Send to send the request. Under Received Data, select the following 2 data paths in the screenshot below.

Go to the app project and select the New post page to open data binding mode. Bind the following UI elements with the respective data.

UI element

Data

**image upload

url

**caption

caption

Under Response Actions, configure the following:

Event

Response action

✅ On success

Go to page: Home screen

❌ On error

Show alert: <input your own alert>

🎨 UI setup

In the Figma file, the New Post page includes these features

Comments list

GET https://api.airtable.com/v0/TABLE_ID/Comment?filterByFormula={Posts}='${caption}'

Displays the list of comments associated with each post.

Query Parameters

Name
Type
Description

filterByFormula

string

Filters data based on specific field values




filterByFormula explained

  • {Posts} = name of the table linked to this table

  • ${caption}= the input variable that determines which data from the Comments table is displayed.

In this case, we want to display the comments specific to each post - and the "caption" column is how we differentiate each post.

This input variable "caption" must match the "Name" (under "Selected Data") of the corresponding data path in the Home feed request - this way the two requests link together.

As we have an input variable in the request URL, we need to input a test value in order to retrieve data. Under Test Values panel, input this:

Key

Value

caption

Bread matters (or any existing caption from the table)

Hit Send to send the request. Under Received Data, select the following 2 data paths in the screenshot below.

Note: Select "All" next to .data.records[] to select all the records of the table, rather than a specific row.

Go to the app project and select the Comments page to open data binding mode. Bind the following UI elements with the respective data.

UI element

Data

Comment list (container)

Records[]

**caption

Records[] Fields Comment

🎨 UI setup

In the Figma file, the Comments page includes these features.

Add new comment

POST https://api.airtable.com/v0/TABLE_ID/Comment

Creates a new record of comment in the database.

Path Parameters

Name
Type
Description

string

Under the Body > JSON panel, input this:

 {
   "records": [
     {
       "fields": {
         "Comment": "${comment}",
         "Posts": [
           "${postid}"
         ]
       }
     }
   ]
 }

Under the Test Values panel, input this:

Key

Value

comment

test

postid

Get the postid from the Home screen request, it's an id string that starts with rec...

Hit Send to send the request. Under Received Data, select the following data path in the screenshot below.

Go to the app project and select the Comments page to open data binding mode. Bind the following UI elements with the respective data.

UI element

Data

**comment (input text area)

comment

Under Response Actions, configure the following:

Event

Response action

✅ On success

Go to page: Comments

❌ On error

Show alert: <input your own alert>

🎨 UI setup

In the Figma file, the New comment page includes these features

📺 Webinar walkthrough

Happy Bravorizing! 🎉

Follow the steps below or the tutorial to learn how to build it! In this tutorial, we'll cover how to set up the connection between the Airtable and the app UI.

Related article:

🎓
📖
Container: Top bar
Text: Flexo
Container: Horizonal slider
Open share dialog
Refresh page
Connect to API GET request for lists
Form inputs
Page transitions
Connect to an API POST request
Page transitions
Refresh page
Text: Flexo
Connect to any API: GET request for lists
Form inputs
Fixed modal page
Connect to an API POST request
watch
LogoBravo Sample: Foodgram appFigma
Selected data from the GET: Home feed request.