Inspiration
The idea for Grain & Gain was inspired by the global issues of hunger and student poverty. Many students struggle to afford regular meals, while local restaurants often have extra capacity and limited community engagement. Grain & Gain bridges this gap — allowing students to earn meal points by completing small tasks for restaurants. It’s a sustainable, community-driven solution aligned with the United Nations Sustainable Development Goals (SDGs): SDG 1: No Poverty SDG 2: Zero Hunger
What it does
Grain & Gain is a two-sided digital platform connecting students and restaurants through a task-based reward ecosystem.
For Restaurants: Create and manage community or promotional tasks Review student applications and proofs Approve submissions and award points Validate 6-digit redemption codes for claimed meals
For Students: Browse available tasks from local restaurants Apply for tasks and receive approval notifications Submit proof (image or link) once completed Earn and redeem meal points securely Mathematically, the reward accumulation can be expressed as: Student Points = 𝑛∑𝑖=1(Reward Points per Approved Task𝑖)
How we built it
Framework: Flutter (cross-platform mobile app) State Management: GetX (for reactivity and modular control) Backend: Supabase (PostgreSQL, Authentication, and File Storage) Architecture: MVC (Model–View–Controller) pattern for clean scalability
Core Features: Role-based authentication (Student / Restaurant) Task management and approval workflow Proof submission (image and optional link) Wallet & points tracking system Secure meal redemption with unique 6-digit validation codes
Challenges we ran into
Maintaining data consistency between task approvals, wallet updates, and redemptions Building a secure verification system for proof submissions Handling real-time synchronization between restaurant and student dashboards Managing smooth UX flow across different user roles
Accomplishments that we're proud of
Successfully implemented a two-role ecosystem with live interaction between students and restaurants Built a secure points and wallet system that syncs in real time Designed a clean and user-friendly interface with Flutter and GetX Created a sustainable solution that aligns with SDG 1 (No Poverty) and SDG 2 (Zero Hunger)
What we learned
How to structure a cross-role Flutter app using reactive state management Building end-to-end real-time data flow using Supabase and GetX Understanding how technology can foster social change, reducing hunger and supporting low-income students Designing secure and transparent reward mechanisms in digital ecosystems
What's next for Grain&Gain
Expanding to include NGOs and community food banks for greater impact Adding AI-driven task recommendations based on student interests and restaurant needs Integrating analytics dashboards for restaurants to track community engagement Launching Grain & Gain 2.0 — a web portal for universities and restaurant partners
Log in or sign up for Devpost to join the conversation.