How to create a Simple Search in FlutterFlow using Supabase!

Sdílet
Vložit
  • čas přidán 19. 06. 2023
  • How to make a searchable list in FlutterFlow while using supabase and no more 3rd party extensions, should be fairly easy to follow, please let me know what you think in the comments. The lines are below, delete the brackets when you put your stuff in, and make it the same format as mine in the video.
    [yourprojectid].supabase.co/rest/v1/[tableyou'researching]?or=([columnyoursearching].ilike.%[SearchString]%)
    Authorization: Bearer [anonpublic API KEY]
    apikey: [anonpublic API KEY]
    Supabase, FlutterFlow, App Development, Database, Backend-as-a-Service, Rapid App Development, No Code, Low Code, Integration, Building Apps, Web Development, Mobile App Development, Cloud Database, Authentication, Realtime, APIs, Open Source, Backend, Frontend, NoSQL, SQL, Authentication, Authorization, User Management, RESTful APIs, Widgets, Firebase Alternative, Data Storage, App Hosting, Supabase Tutorials, FlutterFlow Tutorials, App Design, UI/UX Design, App Prototyping, Visual Development
  • Hry

Komentáře • 40

  • @beepypeepy
    @beepypeepy Před 11 měsíci +2

    I love how you get vaguely more pissed off as the tutorial goes on. More tutorial youtubers need to let their emotions show. this was very helpful btw thank you

    • @beepypeepy
      @beepypeepy Před 11 měsíci

      Would love that fix for returning a single item if anyone figured it out. thanks

  • @DavidShort1
    @DavidShort1 Před 11 měsíci +6

    Hey i was running into problems similar to yours and realized that the Query Parameter was not needed and interfered with the query. That was my experience, anyway. Great video! Thank you for sharing this information!

    • @Leakhorn
      @Leakhorn Před 11 měsíci +3

      I valid. I spent hours there before finding the problem.

    • @moritz6856
      @moritz6856 Před 11 měsíci +1

      Same problem here :D
      2 hours until I saw your comment hahaha

    • @ameilsheridan1557
      @ameilsheridan1557 Před 9 měsíci

      my fellow victim of query paramaters hahaa

    • @corbantwilley5861
      @corbantwilley5861 Před 9 měsíci +1

      oof, I've been working on this for so long, so glad I saw your comment lol

    • @Cesarkzz
      @Cesarkzz Před 9 měsíci +1

      thanks!! it took me 10 minutes thanks to you

  • @PorygoneLabs
    @PorygoneLabs Před 6 měsíci

    Great!!, thank you so much, worked perfect for me and I was searching to do querys this way instead the supabase integration within FF.

  • @addict85
    @addict85 Před rokem

    Great stuff, man! I'd also be interested in seeing how you were able to implement the collapsible scroll on your details page. I have a similar detail page setup as yours (general buttons/options up top, an image, basic info, tab view). Right now on my app, everything down to the basic info stays stationary, but it looks like you figured out what seems to be a two-part collapse feature (image collapses first, then basic info collapses upon further scrolling).

  • @julienfernandes5665
    @julienfernandes5665 Před 11 měsíci +2

    To work with a single result, what you need to do is replace the JSON path entered manually to filter the results, with a JSON path that you enter manually in the flutterflow api after testing api results, and don't forget to check the "is list" box.

    • @beepypeepy
      @beepypeepy Před 10 měsíci

      can you please elaborate on what you did? I am still not able to get this to work. Thank you.

  • @blackdash225
    @blackdash225 Před 11 měsíci

    how would the url look if i wanted to use "match at least one filter"?

  • @olliewarren2075
    @olliewarren2075 Před 7 měsíci

    If I want to do this with users, what parameter would i need to pass to load user information?

  • @user-iu9cl3wo9g
    @user-iu9cl3wo9g Před rokem

    So 1 finding to help with "exact" text search. I set mine to follow your directions, however since I can't figure out how to do this with many to many joins ( I need to break things down by state, city, category and GIS, based on user input). I actually just created a column with multiple values in comma separated form and although it's not the most efficient on the DB side, I'm able to type pretty much exact.
    I've a pretty large DB that I need to do m2m joins, if you or anyone figures it out... that'll be amazing!

  • @joshuaw6976
    @joshuaw6976 Před 10 měsíci

    Hey great video, Im building a similar app on flutterflow with listview. How do you get selectable items in your list view? After creating dynamic children, I can't assign any container to a different page? How were you able to click on an item and go to that page from listview?

  • @danzreview
    @danzreview Před rokem +1

    awesome bro

  • @RaycelGraterol
    @RaycelGraterol Před 5 měsíci

    Thanks you so much hey men to avoid URL encoding you can use * as an alias of the percent sign % for the pattern

  • @user-iu9cl3wo9g
    @user-iu9cl3wo9g Před rokem +2

    Bro ... Thank you! I've been trying to figure this out for a while. Any idea on how to search for something based on the users location and category? My specific scenario: the user is logged in, zipcode is in DB, when they go to search for a category, I want to display results based on their location. ( Ex. User is looking for stores nearby to buy a specific fish type) not sure if I have to have two search fields or if I can get the location from DB and display filtered list.

    • @ethanprince9
      @ethanprince9  Před rokem +1

      Where I filter by id is present in ID, you can filter by Authenticated user zipcode is contained in database zip codes. Can use my search filter of ID, and add a second filter of zip code, with both filters, it should work as you expect.

    • @user-iu9cl3wo9g
      @user-iu9cl3wo9g Před rokem +1

      Thanks again. I wasn't able to figure out visibility with two variables but I was able to do this.

  • @Gab-mf6xq
    @Gab-mf6xq Před 5 měsíci

    I am having the same problem. it is weird, what I am searching is there but depending on what part of the word I am using will determine the success of the search.

  • @Abaybay4u
    @Abaybay4u Před 6 měsíci

    To get rid of the error you have to use a condition to check if the json body is not null and reload the backend if it’s not empty that’s will fix the problem or the error it worked for me

  • @erikgotz595
    @erikgotz595 Před 5 měsíci

    Amazing video, it worked perfectly for me! Did you write the fish data yourself or did you gather it from the internet? I'm trying to build a comparison app for fish, so it would be helpful to have some data to start with.

  • @richardsloan9395
    @richardsloan9395 Před 11 měsíci

    Would love if this worked for returning a single value as opposed to just multiple.. anyone got any ideas?

    • @richardsloan9395
      @richardsloan9395 Před 11 měsíci

      never mind, figured it out.

    • @beepypeepy
      @beepypeepy Před 11 měsíci

      @@richardsloan9395can you share how you got it to work? Thanks

    • @StormK7
      @StormK7 Před 11 měsíci

      ​@@richardsloan9395How??

    • @DanVanDamme
      @DanVanDamme Před 9 měsíci

      @@richardsloan9395care to share?

    • @wavepicturesfilm
      @wavepicturesfilm Před 9 měsíci

      @@richardsloan9395 How did you figure it out?

  • @josucafd
    @josucafd Před rokem

    Here for me it returns "200", but always empty

    • @ethanprince9
      @ethanprince9  Před rokem

      There must be something up with your search terms, that indicates that you contacted the API correctly, but nothing matched your search.

    • @tomazstarasinic2081
      @tomazstarasinic2081 Před 11 měsíci

      It is the same for me, always just 200 and []. Don’t know why. Copied some select id from api documentation on Supabase and is not working.

    • @emeriktremblay3881
      @emeriktremblay3881 Před 5 měsíci

      pretty sure that you are missing a policy on your supabase table, classic mistake