Skip to content
项目

关于

一个类似 Uber Eats 的外卖平台,基于 Medusa 2.0 和 Next.js 14 构建。

商业与金融

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Medusa logo

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

Discord Chat Follow @medusajs

Table of Contents

  1. Overview
  2. Project Structure
  3. Key Features & Architecture
  4. Resources

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:

  • /backend contains the Medusa 2.0 project with all the customizations.
    • This handles core functionalities, including user authentication, order management, and more.
  • /frontend contains 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.

Resources

Learn more about Medusa

Learn more about Next.js

探索相关项目

加载中…