Medusa Eats - Food Delivery Platform Demo
Medusa Eats is a fullstack food delivery platform, inspired by Uber Eats, running on Medusa 2.0 and Next.js 14.
⚠️ This repo was built as an example demo to showcase Medusa 2.0's capabilities. It is not actively maintained by the core team and is intended as an architectural reference, not a starter project.
📖 Read the announcement blog post
Table of Contents
Overview
Medusa Eats is built with:
Features include:
- Restaurant storefront
- Realtime order status dashboards
- Driver and restaurant dashboards
- User roles
- Authentication
- Medusa Workflows
- Realtime Server Sent Event
Project structure
The project consists of two main directories:
/backendcontains the Medusa 2.0 project with all the customizations.- This handles core functionalities, including user authentication, order management, and more.
/frontendcontains the Next.js project.- This handles the user interface, restaurant storefronts, dashboards, and more.
Key Features & Architecture
This demo showcases Medusa 2.0's capabilities as a three-sided food delivery platform built during Paris hackathon:
Three-Sided Platform Architecture
- Customers: Browse restaurant menus and place orders
- Restaurants: Receive order notifications, track food preparation, and update menus
- Drivers: Get job notifications and claim delivery routes
Real-time Order Workflow
- Long-running Medusa Workflow: Handles the complete order lifecycle from customer selection through delivery
- Automatic notifications: Restaurants get notified of new orders
- Driver matching: System finds available drivers for delivery assignments
- Live order tracking: Customers receive real-time status updates throughout the process
Custom Module Implementation
- Restaurant module: Custom entities and business logic for restaurant management
- Driver module: Driver profiles and delivery assignment handling
- Delivery module: Order fulfillment and tracking capabilities
Development Speed Demonstration
Built by one developer in just a few days, showcasing:
- Medusa 2.0's flexibility for rapid prototyping
- The framework's ability to handle complex, multi-sided commerce scenarios
- How custom modules can extend core commerce functionality
Note: This project was created as a hackathon demo to demonstrate Medusa 2.0's potential for building advanced commerce applications. It serves as an architectural reference for understanding how to implement multi-sided platforms with Medusa.