π MyZubster: 6 New Features in 24 Hours
From urban garden dashboards to car refueling with MYZ/XMR
The Story
Today we completed 6 fundamental bounties for the MyZubster ecosystem, taking the project from "prototype" to "LIVE infrastructure" with features spanning from urban gardens to connected cars.
In just 24 hours, we transformed the project with:
5 interactive dashboards for urban gardens
1 complete system for cars with MYZ/XMR refueling
4 complete REST APIs
2 functional marketplaces
1 P2P exchange system
π The New Feature: Car Refueling System with MYZ/XMR
The latest implementation is a complete system for cars that allows refueling with MYZ or XMR.
Features
π Car registration and management
β½ Refueling with MYZ/XMR
π€ Automatic refueling when level drops below threshold
π Consumption and spending statistics
π Gas station map
π° Real-time price updates
Refueling Example
bash
Refuel 15 liters with MYZ
curl -X POST http://localhost:10000/api/auto/rifornisci \
-H "Content-Type: application/json" \
-d '{
"autoId": "auto_123",
"stazioneId": "stazione_456",
"quantita": 15,
"valuta": "MYZ"
}'
Response
{
"success": true,
"rifornimento": {
"auto": "AB123CD",
"quantita": 15,
"costo": "27.00",
"valuta": "MYZ",
"transactionId": "ece328509be83420ac40546b8100332b",
"stazione": "Stazione MyZubster",
"livelloCarburante": 35,
"autonomia": "525 km"
}
}
API Endpoints
javascript
POST /api/auto/registra // Register car
GET /api/auto // List cars
GET /api/auto/:id // Car details
PUT /api/auto/:id // Update car
DELETE /api/auto/:id // Delete car
POST /api/auto/rifornisci // Refuel
POST /api/auto/:id/auto-refill // Auto-refuel
GET /api/auto/:id/stats // Statistics
GET /api/stazioni // List stations
PUT /api/stazioni/:id/prezzi // Update prices
π± The 5 Urban Garden Dashboards
1οΈβ£ #8 - Public Dashboard
Real-time monitoring of urban gardens.
π Real-time statistics (gardens, tokens, transactions)
πΊοΈ Interactive map with Leaflet.js
π Growth charts with Recharts
π Auto-refresh every 30 seconds
π¨ Responsive design with Tailwind CSS
2οΈβ£ #1 - Urban Garden Map
Interactive visualization of all gardens.
πΊοΈ Interactive map with Leaflet.js
π Status filters (active/pending/inactive)
π Search by name and address
π Popup with garden details
π Side panel with selected garden details
3οΈβ£ #2 - Garden Dashboard
Complete urban garden management.
π List of all gardens with status
π‘ Real-time sensor readings (Temperature, Humidity, pH, EC)
π Historical charts with Recharts
π Transaction history
π§ Irrigation and control commands
4οΈβ£ #4 - Garden Products Marketplace
Marketplace for garden products.
π Product listing with categories (seeds, plants, tools, products)
π Filters and search
ποΈ Shopping cart with quantity management
π³ Checkout with MYZ payment
π± Responsive design
5οΈβ£ #5 - Seed Exchange
P2P seed and cutting exchange.
π± Seed/cutting listings with filters and search
π¨ Request system for exchanges
β Reviews and ratings between users
π Exchange dashboard
π JWT authentication
π οΈ Technology Stack
Component Technology Version
Frontend React + Vite 18.2.0 / 5.0.0
Maps Leaflet.js + React-Leaflet 1.9.4 / 4.2.1
Charts Recharts 2.8.0
Styling Tailwind CSS 3.4.0
Backend Node.js + Express 20.20.2 / 4.18.2
Database MongoDB + Mongoose 7.5.0
Authentication JWT 9.0.2
π Project Statistics
bash
π BOUNTIES COMPLETED: 6
π° TOTAL REWARD: 1500 MYZ
β±οΈ TIME: 4 hours
π FILES CREATED: 55+
π LINES OF CODE: 2000+
Repository Structure
text
MyZubsterGateway/
βββ frontend/
β βββ dashboard-public/ # #8 - Public Dashboard
β βββ urban-garden-map/ # #1 - Garden Map
β βββ urban-garden-dashboard/ # #2 - Garden Dashboard
β βββ garden-products/ # #4 - Marketplace
β βββ seed-exchange/ # #5 - Seed Exchange
βββ controllers/
β βββ autoController.js # Car logic
β βββ stazioneController.js # Station logic
β βββ seedExchangeController.js
βββ models/
β βββ Auto.js # Car model
β βββ Stazione.js # Station model
β βββ SeedListing.js
β βββ SeedRequest.js
β βββ SeedReview.js
βββ routes/
βββ auto.js
βββ stazione.js
βββ seedExchange.js
π° The Economic Model
Stakeholder Share Purpose
Garden/Car Owner 85% Compensation for work
MyZubster Platform 2% Maintenance & development
Bosco Community Fund 8% Ecosystem sustainability
Referrer 5% Network growth incentive
π How to Get Started
bash
Clone the repository
git clone https://github.com/MyZubster-Ecosystem/MyZubsterGateway.git
Install dependencies
cd MyZubsterGateway
npm install
Start the server
node server.js
Start the dashboards
cd frontend/dashboard-public && npm run dev # #8
cd frontend/urban-garden-map && npm run dev # #1
cd frontend/urban-garden-dashboard && npm run dev # #2
cd frontend/garden-products && npm run dev # #4
cd frontend/seed-exchange && npm run dev # #5
π€ Contribute
MyZubster is open source and we're always looking for contributors:
Developers β Pick a bounty and earn MYZ
Garden Owners β Deploy sensors and earn
Car Owners β Connect your car and earn
Community β Help with testing and feedback
Start now: https://myzubstergateway-1.onrender.com/bounty
π Credits
MyZubster Team β For the vision and support
Kasuki354 β 47 bounties, 12,000 MYZ
waterWang β 5 bounties, 1,250 MYZ
laurentketterle-hub β 5 bounties, 1,250 MYZ
jihadMo β 1 bounty, 700 MYZ
guoyunfeng β 1 bounty, 250 MYZ
π Useful Links
GitHub: MyZubster-Ecosystem
Gateway: https://myzubstergateway-1.onrender.com
Bounty Board: https://myzubstergateway-1.onrender.com/bounty
π MyZubster is building the future of urban gardens, connected cars, and open source incentives. Join us!
π How to Publish
bash
curl -X POST https://dev.to/api/articles \
-H "Content-Type: application/json" \
-H "api-key: YOUR_DEV_API_KEY" \
-d '{
"article": {
"title": "π MyZubster: 6 New Features in 24 Hours",
"published": true,
"body_markdown": "[PASTE THE CONTENT HERE]",
"tags": ["opensource", "web3", "gardening", "react", "javascript", "automotive"]
}
}'
Top comments (0)