Skip to main content
← Data, API & Backend
Data, API & Backend September 22, 2022 · 2 replies

Multiple sliders pulling from 1 database

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Is it possible to have 3 separate carousel sliders in 1 screen that pulls different segments from data from 1 API?

As seen below, I have 3 carousel sliders, "Self-Love", "Body Image" and "Dating & Relationships". However I'd like to pull them all from 1 database instead of having multiple API requests from 3 databases.

Screenshot 2022-09-22 at 15.22.24.png

The reason I am not using multiple API requests, i.e. 1 API request and 1 database per slider is because all 3 carousel sliders share the same screens and there are 5+ of them.

2 replies

app.monster September 22, 2022

You can have multiple API requests that access the same database. So in your case these API requests probably have the filter for the specific section. That's not problem

Jaron September 23, 2022

Thanks Jonas, figured it out thanks to your tip. 

I made a few new filter views on the table, and then made a corresponding new GET requests to pull records corresponding to each view.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord