Inspiration

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned```markdown

PlateSwap

Inspiration

We've all experienced it—you come home, and there's food ready, but it's just not what you're in the mood for. Maybe you've had the same meal several times this week, or you're simply craving something different.

Instead of letting perfectly good homemade food go to waste or ordering takeout, we asked ourselves a simple question:

What if you could exchange your homemade meal with someone nearby who actually wants it, while trying something they've cooked?

That idea became PlateSwap.

PlateSwap isn't just about reducing food waste—it's about giving people more choice, discovering new homemade dishes, and strengthening local communities through food.


What it does

PlateSwap is a community-driven platform that allows neighbors to exchange homemade meals with one another.

Users can:

  • Create a secure account.
  • Upload homemade meals.
  • Automatically generate meal details using AI from a single photo.
  • Browse meals shared by nearby users.
  • Send and manage swap requests.
  • Chat securely to coordinate exchanges.
  • Discover new homemade dishes while reducing unnecessary food waste.

Instead of eating the same meal repeatedly or throwing away extra food, users can swap meals with people nearby and enjoy something new.


How we built it

PlateSwap was built using a modern full-stack architecture, with OpenAI Codex serving as a key development companion throughout the project.

We relied heavily on Codex to accelerate development by generating production-ready boilerplate, scaffolding APIs, building React components, debugging backend issues, refactoring code, and helping us rapidly iterate on new features. This significantly reduced development time and allowed us to focus on refining the product experience.

One of PlateSwap's core features is its AI-powered meal analysis.

Instead of asking users to manually type meal information, they simply upload a photo of their homemade meal.

Our FastAPI backend securely forwards the image to OpenAI's GPT-5.6 multimodal model, which analyzes the image and automatically generates structured meal information, including:

  • Meal title
  • Natural language description
  • Estimated calories
  • Protein
  • Carbohydrates
  • Fat
  • Dietary tags (High Protein, Vegetarian, Dairy-Free, Gluten-Free, etc.)

This creates a much faster, smarter, and more consistent meal listing experience while reducing manual effort for users.

Technology Stack

AI

  • OpenAI Codex
  • OpenAI GPT-5.6 (Vision)

Frontend

  • React
  • React Router
  • React Query

Backend

  • FastAPI
  • SQLAlchemy
  • PostgreSQL
  • AsyncIO

Authentication

  • JWT Authentication

Architecture

  • RESTful APIs
  • Modular backend architecture
  • Asynchronous database operations

Challenges we ran into

Building a complete end-to-end platform within a hackathon timeframe presented several technical challenges.

Some of the biggest included:

  • Designing an intuitive meal-swapping workflow.
  • Integrating the React frontend with the FastAPI backend.
  • Building secure JWT authentication.
  • Implementing AI-powered image understanding.
  • Parsing structured AI responses reliably.
  • Managing asynchronous database operations.
  • Resolving dependency compatibility issues.
  • Testing the complete user journey under tight deadlines.

Despite these challenges, we successfully delivered a fully functional prototype.


Accomplishments that we're proud of

We're proud of building a complete end-to-end application that demonstrates the full meal-sharing experience.

Users can:

  • Register securely.
  • Upload meals using AI-powered image analysis.
  • Automatically generate meal descriptions and nutritional estimates.
  • Discover meals from nearby users.
  • Request meal swaps.
  • Coordinate exchanges through integrated messaging.

Most importantly, we're proud of creating a platform that combines AI with community interaction to make homemade food more accessible, enjoyable, and sustainable.


What we learned

Throughout this project, we gained valuable experience in:

  • Building scalable full-stack applications.
  • Designing modern React interfaces.
  • Developing asynchronous FastAPI services.
  • Secure authentication and authorization.
  • REST API design.
  • Database modeling with PostgreSQL.
  • AI-assisted software development using OpenAI Codex.
  • Integrating multimodal AI into real-world user workflows.
  • Rapid prototyping and teamwork under hackathon constraints.

What's next for PlateSwap

Our vision is to grow PlateSwap into the leading platform for community-driven homemade food sharing.

Planned Features

  • Interactive map-based meal discovery
  • Personalized AI meal recommendations
  • User ratings and trust system
  • Verified user profiles
  • Dietary preference and allergy filtering
  • Smart location-based search
  • Scheduled meal exchanges
  • Push notifications
  • Restaurant and bakery surplus food partnerships
  • Community organization integrations
  • Mobile applications for iOS and Android
  • Analytics and user insights
  • Multi-city expansion

Our long-term vision is to build the world's most trusted platform for exchanging homemade meals—helping communities discover new flavors, connect with their neighbors, and ensure that good food is shared instead of wasted.



## What's next for PlateSwap

Built With

Share this project:

Updates