
Waste Management API
EcoFlow
A complete backend solution for managing waste reporting and collection. Built on a modern JavaScript stack, providing a robust, scalable, and authenticated REST API.
8 Waste Types
Accurate classification: PLASTIC, E_WASTE, METAL, ORGANIC, and more
Developer-Friendly
Clean REST API with consistent endpoint structure
Powered by Express.js, Prisma ORM, and PostgreSQL for enterprise-grade performance.
Technical Stack
Built using modern, industry-standard technologies for speed, security, and reliability. Our robust backend powers waste reporting and collection at scale.

Express.js Backend
Modular, REST-style framework
ES Modules

Prisma & PostgreSQL
Enterprise-grade data integrity
Type-safe ORM

AWS S3 Storage
Scalable cloud image storage
10MB uploads
See how our API powers the complete waste reporting and collection workflow.
How It Works

Report Waste

Collector Pickup
Complete Workflow
Users submit waste reports with required images and location details. Collectors mark reports as collected with proof images. A clear workflow moves reports from PENDING to COLLECTED status.
REST
Clean API design
Clerk
Secure auth
S3
Image storage

Real-time Alerts
8 Waste Categories
Accurate classification using types like PLASTIC, E_WASTE, METAL, ORGANIC, PAPER, GLASS, TEXTILE, and HAZARDOUS for proper waste management.

Plastic & Metal
PLASTIC, METAL, and GLASS waste types. Accurate classification enables proper recycling and recovery of valuable materials.

Organic & Paper
ORGANIC, PAPER, and TEXTILE categories. Our system tracks biodegradable and fiber-based waste for composting and recycling.

E-Waste & Hazardous
E_WASTE and HAZARDOUS materials require special handling. Full regulatory compliance with safe collection and disposal protocols.
Key Features
Comprehensive Waste Reporting
Empowers citizens to actively participate in environmental efforts.
- Easy reporting with intuitive forms
- Required image upload for verified data
- GPS coordinates or text address support
- 8 waste category classification
Dedicated Collector Workflow
Specialized system to mobilize and track collection teams efficiently.
- Role-based collector mode access
- PENDING to COLLECTED status workflow
- Collection proof image upload
- Anti-fraud: no self-collection allowed
Secure & Scalable
Express.js, Prisma ORM, PostgreSQL, and AWS S3 for enterprise-grade security and reliability.
Real-time Notifications
Automated alerts for WASTE_REPORTED, WASTE_COLLECTED, and COLLECTOR_ENABLED status changes.
Developer-Friendly
Clean REST API with x-user-id authentication, multipart/form-data support, and structured S3 storage.
Ready to integrate EcoFlow API?
Build verified, location-based waste reporting with our robust REST API. Features built-in collector workflow, role-based access, and secure authentication.