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.
Project Distriator
- So far, we are adding businesses in an excel sheet shared internally.
- From that excel sheet, data is exported to csv, converted to JSON & mapped to business entities.
- And to do all of these, we've scripts.
- This needs to go away.
- This solution was for supporting via excelshet till we have UX to manage business.
- As you can see in the screenshot above, we've added 3 more APIs to manage businesses.
Merge & Deploy
- After developing APIs, we tested it locally & it worked fine.
- Immediate actions which we took = raise PR, review again & merge.
- We accessed the Distriator server, pull all changes
- After that we restarted services of Distriator
- By completing all of these steps, we successfully deployed new APIs of business management.
API Documentation
- API documentation isn't up-to-the-mark. However it gives you the bird-eye-view of available APIs & usage.
- Following code snippet is an example cURL of getting all businesses.
curl --location 'http://localhost:3000/business/' \
--header 'Authorization: eyJh....'
Update A business
Following is a cURL for updating existing business
curl --location --request PUT 'http://localhost:3000/business/667bf8393d2ea02d35e34419' \
--header 'Authorization: ey...' \
--header 'Content-Type: application/json' \
--data ' {
"distrion": {
"guides": [
{
"name": "edmundochauran",
"percent": 3333
},
{
"name": "jonsnow1983",
"percent": 3333
},
{
"name": "aksurevm89",
"percent": 3334
}
],
"owner": "econoquesos",
"creator": "jonsnow1983",
"expiry": "2024-09-24T11:14:41.856Z",
"subscriptionStatus": "whitelisted",
"paymentMethods": [
"HBD",
"SATS"
],
"spendHBDLink": "https://spendhbd.social.gifts/object/djy-econoquesos?breadbrumbs=owo-business-directory/56ew21-venezuela/6dthjw-sucre/djy-econoquesos"
},
"profile": {
"displayName": "Econoquesos",
"displayImage": "https://ipfs-3speak.b-cdn.net/ipfs/bafkreiglrhxswntjabjqrc3amp37ryva5jifwb4vl2klgxvp4ts4orzkjq",
"businessType": "Grocery Store",
"images": [
"https://ipfs-3speak.b-cdn.net/ipfs/bafkreiglrhxswntjabjqrc3amp37ryva5jifwb4vl2klgxvp4ts4orzkjq",
"https://ipfs-3speak.b-cdn.net/ipfs/bafkreiadnodvurck3v2ty3saol4fyk2kezrv7pcbll7mnpcvll7fvvw3j4",
"https://ipfs-3speak.b-cdn.net/ipfs/bafkreiemelmyrfr6rnytf3fk2pkxxf6lb4ubc3edtuafwaeukusf7phau4",
"https://ipfs-3speak.b-cdn.net/ipfs/bafkreihj56cubri5es3ddqo4va52dz5h6g4o3jaoy2b4w55lyv5pjiyxwu",
"https://ipfs-3speak.b-cdn.net/ipfs/bafkreiegn5lvegbfk5qs3mljrc7okhbg3hqiyggm4eq4nueay3jmc7xdsu"
]
},
"contact": {
"instagram": "https://www.instagram.com/econoquesos/"
},
"location": {
"pin": {
"latitude": -64.16648324920536,
"longitude": 10.472244007409754
},
"address": {
"address1": "5° Transversal",
"address2": "Av Santa Rosa, Cumana 6101",
"city": "Sucre",
"state": "Sucre",
"country": "Venezuela"
}
}
}'
What's next?
- Now that, we have business management APIs, we'll focus on UX.
- We'll support adding & editing businesses from Distriator App.
- While integrating APIs, if we find something missing in API, we'll update APIs.
- After that, we'll switch our focus to BTC-SATS rewards
Bird Eye View of what's going on, On Project Distriator
( ⏳ = In Progress, ✅ = Done)
- API for Setting limits for by country ✅
- FrontEnd to set limits for country ✅
- Complete UX for managing users ✅
- Support Localization / Multi language support ⏳
- Complete Add-A-Business API ✅
- Complete Edit-A-Business API ✅
- Fixing issues suggested by @starkerz ✅
- Adding improvements suggested by @starkerz ✅
- Migrate existing excel-sheet-based-businesses to database using add-a-business-api ⏳
- Once migration is done, we'll integrate update-a-business-API ⏳
- Add support for setting percentage for each-trusted-business-guide on a business ⏳
- Reward onboarders ✅
- Rewarding BTC - V4V - SATS payments ⏳
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)
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 PIZZA, BEER
- Today, we sent power-ups to these amazing content creators - @sunshine29, @yummycruz1, @madilyn02, @lanoican, @popurri, @virgilio07, @josdelmi, @actioncats, @yessi08, @mercmarg
- Here is the screenshot indicating same.
Dedicated Resources for Hive Eco-System
Resource Name | Resource Description | Approx Cost of Resource | Status |
---|---|---|---|
Hive Witness | Hive Witness Node | $50 | ✅ |
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 | $1965 | -- |
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-07-09, 3Speak published total 147 videos.
- My video encoder nodes encoded 92 videos from 147 videos published.
- It means, my encoder nodes encoded 62.59 % of total videos published on 2024-07-09
- Here is visual representation of above data.
My Daily Hive Investment Report for 2024-07-09
Value | Investment Type |
---|---|
0.000 Hive | Hive Power Up |
24.947 Hive | Witness Rewards in Hive Power |
78.183 Hive | Curation Rewards as Hive Power |
8.272 Hive | Benefactor Rewards as Hive Power |
-- | -- |
111.402 Hive | Total Hive Power Invested |
-- | -- |
Curation Report for 2024-07-09
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 37 & motivated content creators for their contributions on Hive.
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Get paid for paying in HBD/Hive & SATs
https://distriator.com
Credits to designers - noakmilo & josegrech