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
- Distrion App (on-going & in-developement)
- 3Speak Mobile App (production + maintenance)
- The Hive Mobile App (in-developement as a hobby project)
- HiveCurators - DiscordBot (production + maintenance)
- Hive Witness Node (production)
- 3Speak (Legacy / Current) WebApp (production + maintenance)
- 3Speak (Legacy / Current) Creator Studio (production + maintenance)
- 3Speak new-website - backend (acela-core) (contributed for 2-3 APIs)
- 3Speak new-website (contributed for 2 screens)
- Bitcoin Tube (Developed static home page)
- Video Encoder Nodes (12 video encoders)
- Union-Indexer-Node (1 union indexer node as a backup)
- HiveAuth Mobile App (Contributed)
Updates on Hive Distrion App
- 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.
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 Name | Resource Description | Approx Cost of Resource | Status |
---|---|---|---|
Hive Witness | Hive Witness Node | $50 | ✅ |
Dlux | Running Dlux Witness Node | $5 | ✅ |
Larynx | Running a LARYNX node | $5 | ✅ |
Duat | Running a DUAT node | $5 | ✅ |
VSC | Running a VSC witness node | $5 | ✅ |
Discord Bot | Hive Curators Discord Bot Node | $5 | ✅ |
HP Rewards | Hive Curators HP reward Bot Node | $5 | ✅ |
12 Nodes | Powerful video encoder nodes for 3Speak $20 on average | $240 | ✅ |
Bandwidth | 3 internet connections | $50 | ✅ |
Distrion | Hive-Distrion Backend node | $5 | ✅ |
Community Contributors | Rewarding community contributors in INR | $60 | ✅ |
Additional Developer | Additional Contributing Developer | $1000 | ✅ |
-- | -- | -- | -- |
Total | Approx | $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.
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.
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?
- I'm a Hive Witness
- 3Speak App Developer
- I've also contributed to mobile-app for HiveAuth
- I also work on HiveFreedomDollar App
- I worked with Team @ecency for integrating 3speak-video-upload feature
- Founder of HiveCurators Community - @hive-185924 / @hivecurators
- Founder of https://the-hive-mobile.app/#/
Support me
- Please upvote my content to motivate me
- Please Reblog
- Please vote me as Hive Witness
Vote sagarkothari88 as Hive Witness
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