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
- Distriator App (on-going & in-developement) (also known as Hive Freedom Dollar)
- 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)
Project - Distriator
Places API are needed for Business Management APIs
- In order to build API for creating a business, first we need to build API for getting necessary details for a location.
- When a business guide or admin is trying to add a business, upon selecting a location on a map, App should get all the details of the location.
- Today, we worked on building such API & named it
places
Google Maps Platform
- At first it was not clear, which API to use from Google platform
- After trying couple of things here & there, we concluded that we will be needing nearby search
- Nearby search will provide us, nearby search results.
- A business guide will tap on "Add a business".
- Map will zoom to current location.
- This API will help us locate nearby businesses to the location of a business guide
Writing API for places
- Only A Super Admin / Admin / Trusted Guide can use this API
- Upon supplying latitude & longitude of a user, this API will return google places which are near to that location.
What all details are we getting from Places API?
- We are supplying all following info back to the user.
- Following information will help user to prefill the form for adding a business.
- displayName,
- formattedAddress,
- addressComponents,
- encoded-photos (we don't have direct photos)
- primaryType
- primaryTypeDisplayName,
- currentOpeningHours,
- internationalPhoneNumber
- websiteUri
Converting address components to needed fields
- At first google naming convention, I found it confusing.
- After doing search, I found above code-snippet which helps me understand it.
- With this logic, we have
street
,city
,state
&zipcode
Postman API example
- Above screenshots indicate that upon supplying latitude & longitude in request, we get nearby places
- API that we've built is deployed & working in production.
- It is tested & working as expected.
What's next?
- Now, we'll switch to front-end
- Integrate Above API
- And start building UX for adding a business
- Wish us all the luck
Rewarding Hive Content Creators
- I support several contests hosted by different communities.
- I reward them with Hive-Power-up for the contribution that they have made on communities on Hive.
- We keep transferring portion of hive power to different users on Hive for encouraging them for their contribution on Hive.
- Those who respond to our replies, we also reward them with different tokens like ALIVE, PIZZA, BEER, LUV
- No power ups were sent today.
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 | ✅ |
Distriator | Hive-Distriator Backend node | $50 | ✅ |
Community Contributors | Rewarding community contributors in INR | $60 | ✅ |
Additional Developers | Additional Contributing Developers | $1500 | ✅ |
-- | -- | -- | -- |
Total | Approx | $1980 | -- |
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-06-13, 3Speak published total 125 videos.
- My video encoder nodes encoded 101 videos from 125 videos published.
- It means, my encoder nodes encoded 80.80 % of total videos published on 2024-06-13
- Here is visual representation of above data.
My Daily Hive Investment Report for 2024-06-13
- 0.00 Hive Power Up
- 22.71 Witness Rewards in Hive Power
- 87.13 Curation Rewards as Hive Power
- 10.09 Benefactor Rewards as Hive Power
- 119.93 Total Hive Power Invested
Curation Report for 2024-06-13
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 43 & motivated content creators for their contributions on Hive.
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Don't forget to pay using HBD/Hive
https://distriator.com
- banners & images if you wish to use.
- Don't forget to give credits to designers.