🧑‍💻 Hive dApps Dev Updates - Distriator - Levels Up Business Reviews! 🚀

in HiveDevs10 days ago

👋 Hello Hive Community!

Hope everyone’s buzzing with joy on the other side of the blockchain! 🐝
Before we get into the fun dev stuff, please check out our latest app at https://cashback.distriator.com and experience our super-swift cashbacks! Try it, break it, and let those spicy feedbacks roll in! 🚀


🔥 What’s New? Major Boost for Business Reviews!

  • We’re always chasing milliseconds—because in dApps, every moment counts.
  • After zipping up cashbacks and business lists, our latest obsession: speeding up business reviews.
  • Next stop: reports!

improvise adapt overcome meme gif


⚡ Why Are We Doing This?

  • Every visit to a business details page = business reviews loading = few eternal seconds
  • That’s not fun! We want sprint, not crawl.
  • Aim: Instant reviews for ultra-fresh user experience—optimizing on both backend 🖥️ and frontend 📲.

📜 The Background Saga: Business List Performance

Already gave the business list the turbo treatment! Here's an iPad screenshot for bragging rights👇

iPad Screenshot showing all list of businesses

Now, tap a business—straight to the details page. Let’s peep inside! 👀


🏪 Business Details: The Waiting Game

Business Details page

  • Loading spinner spins for 3-4 seconds before reviews appear.
  • “View All” button on top—tap to see the complete review grid.
  • Waiting ≠ winning. Time to change that!

🗃️ All Reviews, All At Once (Grid View)

Business Reviews Page

  • Grid appears, but the loading—still cringe-y!
  • Pagination? Nah… what if we can do better?
  • If businesses load like lightning, so should reviews! 🔥

🛠️ Backend Power-Ups: The Geeky Stuff

Before the UI glam, comes backend bam! Here’s the secret sauce—techies, rejoice!


🗂️ Updated Collection Schema

Update Collection Schema

  • Revamped Business Review Schema!
  • Added modifiedAt (because reviews age, and we want to know how gracefully).
  • created was already present and still shining.

⏰ Automagic Update of modifiedAt

Hide Show business review

  • Whenever a business owner hides/shows a review, modifiedAt gets a date-glow-up!
  • Because transparency matters, and things change!

🔎 MongoDB Pipeline FTW

Mongodb pipeline for getting business reviews

  • Switched from sleepy queries to pumped-up pipelines.
  • Fetches reviews created/modified after a certain date—no more stale content!

🚦 /v2/ Endpoint: New API, Who Dis?

Add new version of API

  • Rolled out a shiny new API endpoint: /v2 for business reviews.
  • Lets frontend experiment with zero risk to existing production.
  • “Old is gold, new is platinum!” 🎉

🔮 What’s Next? The Roadmap

  • Backend coded, locked, and loaded.
  • Local testing happening today—pray to the bug gods! 🙏
  • If all good, deploying backend to the world.
  • Next up: frontend’s turn for new API integration, then beta launch.

🦾 Power-Up the Hive!

  • More power to the Hive community!
  • More to all open-source legends out there!
  • Even more to the unstoppable Hive blockchain.
  • Hive—faster, stronger, higher… to the MOON and BEYOND! 🚀🌕

🙌 Support, Love, and Good Vibes

  • Tried the package? Shout your feedback in the comments! 💬
  • Like this update? Smash that upvote! 👍
  • Want more? Vote for me as your Hive Witness! 😎
  • Feeling generous? Send a tip my way!
  • Until the next update, BYE BYEEE! 👋

📝 Final Note


🚀 My Contributions to ♦️ Hive Ecosystem

ContributionToHiveEcosystem
Hive Witness NodeHive API Node3Speak Video Encoder Node Operator (highest number of nodes)3Speak Mobile App Developer
Podcast App Developer3Shorts App Developer3Speak Support & Maintenance TeamDistriator Developer
CheckinWithXYZHive InboxHiFindHive Donate App
Contributed to HiveAuth Mobile AppEcency ↔ 3Speak IntegrationEcency ↔ InLeo IntegrationEcency ↔ Actifit Integration
Hive Stats AppVote for Witness AppHiveFlutterKitNew 3Speak App

🙌 Support Back

❤️ Appreciate my work? Consider supporting @threespeak & @sagarkothari88! ❤️

VoteForWitness
sagarkothari88@sagarkothari88
threespeak@threespeak
Sort:  

Hello sagarkothari88!

It's nice to let you know that your article won 🥇 place.
Your post is among the best articles voted 7 days ago by the @hive-lu | King Lucoin Curator by keithtaylor

You and your curator receive 0.0003 Lu (Lucoin) investment token and a 14.67% share of the reward from Daily Report 782. Additionally, you can also receive a unique LUGOLD token for taking 1st place. All you need to do is reblog this report of the day with your winnings.

2.png


Invest in the Lu token (Lucoin) and get paid. With 50 Lu in your wallet, you also become the curator of the @hive-lu which follows your upvote.
Buy Lu on the Hive-Engine exchange | World of Lu created by @szejq

If you no longer want to receive notifications, reply to this comment with the word STOP or to resume write a word START