2024-05-19 - Daily Updates from sagarkothari88

post-thumbnail

Hello Hive Community Members,

Welcome to daily updates from @sagarkothari88 - a Hive Witness & mobile-app-developer. I daily invest my time with my skillset in #Hive & I daily hive-power-up.

My contributions on projects on Hive Blockchain

Updates on Hive Distrion App

post-thumbnail

  • Today, I developed all APIs for Business Guides & Business Owners.
  • These APIs will be consumed by admin & super-admin users.
  • Super Admins / Admins - will manage business guildes & business owners of Hive-Distrion App.
  • I also re-organised everything & placed all routes in proper structure.

api-routes

APIs for Super-Admins (Manage Admins)

  • Super Admins can manage admins using following APIs.
// 1. View All Admins
curl \
  --location 'https://api.hive-distrion.app/admin' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 2. Add an Admin
curl \
  --location 'https://api.hive-distrion.app/admin/add/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 3. Remove an Admin
curl \
  --location 'https://api.hive-distrion.app/admin/remove/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 4. Ban an Admin
curl \
  --location 'https://api.hive-distrion.app/admin/ban/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 5. Unban an Admin
curl \
  --location 'https://api.hive-distrion.app/admin/ban/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

APIs for Super Admins & Admins (Manage Guides & Owners)

  • Super Admins & Admin can manage Business Guides & Business Owners using following APIs.
  • For now, APIs for managing Guide & Owner, may look similar, but I'll add more features soon.
// 1. View All Guides
curl \
  --location 'https://api.hive-distrion.app/guide' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 2. Add a Guide
curl \
  --location 'https://api.hive-distrion.app/guide/add/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 3. Remove A Guide
curl \
  --location 'https://api.hive-distrion.app/guide/remove/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 4. Ban a Guide
curl \
  --location 'https://api.hive-distrion.app/guide/ban/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 5. Unban a Guide
curl \
  --location 'https://api.hive-distrion.app/guide/ban/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 1. View All Owner
curl \
  --location 'https://api.hive-distrion.app/owner' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 2. Add an Owner
curl \
  --location 'https://api.hive-distrion.app/owner/add/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 3. Remove an Owner
curl \
  --location 'https://api.hive-distrion.app/owner/remove/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 4. Ban an Owner
curl \
  --location 'https://api.hive-distrion.app/owner/ban/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

// 5. Unban an Owner
curl \
  --location 'https://api.hive-distrion.app/owner/ban/filoriologo' \
  --header 'Authorization: JWT_TOKEN_GOES_HERE'

Swagger Docs

  • Now, I think it is right time to start documenting all the APIs I'm building.
  • I knew that for API documentation Swagger is used.
  • As a front-end guy, I always used Swagger to refer API Docs

  • This time, I am the one who wants to generate docs for front-end.
  • I referred to following video first

  • Above video was 3 years old & I regret going through it because it ended up creating confusions.
  • After that I referred to following video

What's next?

  • Implement & deploy Swagger Docs
  • Create a new Discord Server for Hive-Distrion
  • Integrate Discord Hooks on the backend
  • Keep working on adding new APIs for Hive-Distrion.

Dedicated Resources for Hive Eco-System

Resource NameResource DescriptionApprox Cost of ResourceStatus
Hive WitnessHive Witness Node$50
DluxRunning Dlux Witness Node$5
LarynxRunning a LARYNX node$5
DuatRunning a DUAT node$5
VSCRunning a VSC witness node$5
Discord BotHive Curators Discord Bot Node$5
HP RewardsHive Curators HP reward Bot Node$5
12 NodesPowerful video encoder nodes for 3Speak $20 on average$240
Bandwidth3 internet connections$50
DistrionHive-Distrion Backend node$5
Community ContributorsRewarding community contributors in INR$60
Additional DeveloperAdditional Contributing Developer$1000
--------
TotalApprox$1435--

Updates: Video Encoder Nodes

  • I'm running 12 powerful video encoder nodes for 3Speak Community Members.
  • Monthly internet bandwidth usage which exceeds 15 TB, Maintenance cost, Electricity backup, Internet backup, Depreciation cost - it's all on me.
  • On 2024-05-19, 3Speak published total 109 videos.
  • My video encoder nodes encoded 91 videos from 109 videos published.
  • It means, my encoder nodes encoded 83.49 % of total videos published on 2024-05-19
  • Here is visual representation of above data.

2024-05-19-encoder-data

My Daily Hive Investment Report for 2024-05-19

  • 31.78 Hive Power Up
  • 19.32 Witness Rewards in Hive Power
  • 74.65 Curation Rewards as Hive Power
  • 5.76 Benefactor Rewards as Hive Power
  • 131.51 Total Hive Power Invested

Curation Report for 2024-05-19

NOTE:

  • If you don't like tagging you under curation report, let me know in comment section & I'll exclude you from the curation report.
  • If you think that I should not attach curation report in the post, let me know in the comment section.

We've curated total 23 & motivated content creators for their contributions on Hive.

AuthorPost
@bruno-kemahttps://ecency.com/@bruno-kema/learn-to-let-go-of-stuff
@stekenehttps://ecency.com/@stekene/splinterlands-curation-trail
@sunscapehttps://ecency.com/@sunscape/vertical-gardening-tips-to-save-space-by-sunscape
@mnurhiverhttps://ecency.com/@mnurhiver/little-children-coming-home-from
@preetihttps://ecency.com/@preeti/good-food-for-a-good
@idea-make-richhttps://ecency.com/@idea-make-rich/lemon-soda-shikanji-recipe
@fotostefhttps://ecency.com/@fotostef/just-another-day
@lincemarromhttps://ecency.com/@lincemarrom/6-years-of-splinterlands-play-earn-and-learn-enptbr
@bitcoinfloodhttps://ecency.com/@bitcoinflood/whats-new-on-hive-goals-splinterlands-hive-and-leo
@ahmadmangahttps://ecency.com/@ahmadmanga/i-asked-chatgpt-to-automate-repetitive-tasks-for-my-recurring-hive-post-that-will-save-me-hours-in-the-long-run
@kolkamkwanhttps://ecency.com/@kolkamkwan/this-is-going-against-the
@ellenripleyhttps://ecency.com/@ellenripley/feathers-and-fun-exploring-my
@outwarshttps://ecency.com/@outwars/battle-mage-secrets-weekly-challenge-heavy-hitters-sdqo30
@lozio71https://ecency.com/@lozio71/cambiamenti-in-corso-sul-gioco-per-il-sesto-compleanno-di-splinterlands-engita-changes-underway-in-the-game-for-splinterlands
@lorddiablohttps://ecency.com/@lorddiablo/my-weekly-battle-mage-secrets-786beff0bcff8
@arvenohttps://ecency.com/@arveno/happy-birthday-my-baby-boy
@balikis95https://ecency.com/@balikis95/nadia-nakai-never-leave
@alex-rourkehttps://ecency.com/@alex-rourke/sunday-morning-words-of-gratitude
@behiverhttps://ecency.com/@behiver/lorkus-metamorphosis-splinterlands-art-contest-week-294
@millycf1976https://ecency.com/@millycf1976/soulful-thoughts
@neilamarcanohttps://ecency.com/@neilamarcano/campeonato-amistoso-de-bolas-criollas-en-conmemoracion-del-dia-de-las-madres-oror-friendly-championship-of-creole-balls-in-comme
@yaroschainhttps://ecency.com/@yaroschain/mercados-sin-competencia-que-es-como-encontrarlos
@culebrohttps://ecency.com/@culebro/battle-mage-secrets-weekly-challenge-heavy-hitters-sdptu6

What do you think?

  • What do you love the most out of these activities I do?
  • Please let me know in the comment section.

Who am I?

Support me

  • Please upvote my content to motivate me
  • Please Reblog
  • Please vote me as Hive Witness
appStoreGooglePlayStore

Support @sagarkothari88

Vote sagarkothari88 as Hive Witness

Support @threespeak

Vote for 3Speak as Witness

Don't forget to swap your HBD/Hive using @ecency

Don't forget to pay using HBD/Hive

https://hive-distrion.app

Images by @noakmilo



0
0
0.000
37 comments
avatar

This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.

Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens. HP delegators and IUC token holders also get upto 20% additional vote weight.

Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.

image.png

100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @bhattg by upvoting this comment and support the community by voting the posts made by @indiaunited..

This post received an extra 10.00% vote for delegating HP / holding IUC tokens.

0
0
0.000
avatar

Thanks for the support.

0
0
0.000
avatar

Hello @outwars

You are most welcome.

Thank you for checking out my post & dropping a comment.

!GIF Thank you so much

Here are some return gift tokens for you.

!ALIVE token gift for you

!BEER token gift for you

!PIZZA token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@outwars! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (6/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar

Wow, business API done 🥰🥰🥰🥰🎉🎉🎉🎉🎉

0
0
0.000
avatar
  • Super Admins ✅
  • Admins ✅
  • Business Owners ✅
  • Business Guides ✅

Now, I'll work on

  • Business Campaigns 💻
  • Business Review Claims 💻
  • Business Campaign Review Claims 💻
0
0
0.000
avatar

Wow you're doing such a great work... When I build a business I know exactly who to come to 🥰🥰🥰

0
0
0.000
avatar

thanks for your curations
now it's my turn to say
keep up the good work

0
0
0.000
avatar

Hello @eolianpariah2

Haha! Good one. I'll keep up the good work for sure.
Thank you for checking out my post & dropping a comment.

!GIF You are most welcome

!PIZZA token gift for you

!ALIVE token gift for you

!LUV token gift for you

!BEER token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@eolianpariah2! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (1/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar

Thanks for the support. 🙏🇹🇭

0
0
0.000
avatar

Hello @kolkamkwan

You are most welcome 🙏 🇮🇳

Thank you for checking out my post & dropping a comment.

!GIF You are most welcome

!ALIVE token gift for you

!LUV token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@kolkamkwan! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (2/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar

Thankyou😇

0
0
0.000
avatar

Hello @preeti

😇 You are most welcome. 🙏 😇

Thank you for checking out my post & dropping a comment.

!GIF You are most welcome

Here are some return gift tokens for you.

!ALIVE token gift for you

!BEER token gift for you

!PIZZA token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@preeti! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (7/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar

Thank you for the support and the mention, great things are coming, that's great, continue your good works in the hive, big hug 🤗🥰

0
0
0.000
avatar

Hello @neilamarcano

You are most welcome. A Big Hug Back to you 🫂
Great things are coming indeed.
Thank you so much for motivating words.

Thank you for checking out my post & dropping a comment.

!GIF Thank you so much

Here are some return gift tokens for you.

!ALIVE token gift for you

!BEER token gift for you

!PIZZA token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@neilamarcano! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (5/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar

@tipu curate

0
0
0.000
avatar

Hello @mad-runner

Thank you so much for the tipu-based-curation
It motivates me.

Thank you for checking out my post & dropping a comment.

!GIF Thank you so much

Here are some return gift tokens for you.

!ALIVE token gift for you

!BEER token gift for you

!PIZZA token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@mad-runner! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (4/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar

Thanks for your support!

!PGM
!PIZZA
!LOLZ
!LUV
!MEME

0
0
0.000
avatar

Hello @lozio71

You are most welcome.
Thank you so much for those many tokens.

Thank you for checking out my post & dropping a comment.

!GIF You are most welcome

Here are some return gift tokens for you.

!ALIVE token gift for you

!BEER token gift for you


Please Support Back

Ignore if already supported

0
0
0.000
avatar

@lozio71! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @ sagarkothari88. (3/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power (2x 50 HP) and Alive Power (2x 500 AP) delegations (4 weeks), and Ecency Points (4x 50 EP), in our chat every day.

0
0
0.000
avatar
(Edited)

PIZZA!

$PIZZA slices delivered:
lozio71 tipped sagarkothari88
sagarkothari88 tipped mad-runner
sagarkothari88 tipped outwars
sagarkothari88 tipped eolianpariah2
@sagarkothari88(5/5) tipped @preeti
sagarkothari88 tipped neilamarcano

0
0
0.000