docs: add restaurant-delivery marketplace recipe (#8817)

Add recipe for restaurant-delivery marketplace recipe inspired by Medusa Eats

Closes DOCS-921

Preview: https://resources-docs-git-docs-restaurant-delivery-recipe-medusajs.vercel.app/v2/resources/recipes/marketplace/examples/restaurant-delivery
This commit is contained in:
Shahed Nasser
2024-08-29 12:33:31 +03:00
committed by GitHub
parent 25134d2307
commit ddddd4303c
7 changed files with 3344 additions and 2 deletions
File diff suppressed because it is too large Load Diff
@@ -1,3 +1,4 @@
import { ChildDocs } from "docs-ui"
import { AcademicCapSolid } from "@medusajs/icons"
export const metadata = {
@@ -8,6 +9,10 @@ export const metadata = {
This recipe provides the general steps to implement a marketplace in your Medusa application.
## Example Guides
<ChildDocs type="item" onlyTopLevel={true} />
## Overview
A marketplace is an online commerce store that allows different vendors to sell their products within the same commerce system. Customers can purchase products from any of these vendors, and vendors can manage their orders separately.
+2 -1
View File
@@ -569,5 +569,6 @@ export const generatedEditDates = {
"app/medusa-cli/commands/start-cluster/page.mdx": "2024-08-28T11:25:05.257Z",
"app/medusa-cli/commands/start/page.mdx": "2024-08-28T10:44:19.952Z",
"app/medusa-cli/commands/telemtry/page.mdx": "2024-08-28T11:25:08.553Z",
"app/medusa-cli/commands/user/page.mdx": "2024-08-28T10:44:52.489Z"
"app/medusa-cli/commands/user/page.mdx": "2024-08-28T10:44:52.489Z",
"app/recipes/marketplace/examples/restaurant-delivery/page.mdx": "2024-08-29T09:20:26.842Z"
}
@@ -751,6 +751,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/recipes/integrate-ecommerce-stack/page.mdx",
"pathname": "/recipes/integrate-ecommerce-stack"
},
{
"filePath": "/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx",
"pathname": "/recipes/marketplace/examples/restaurant-delivery"
},
{
"filePath": "/www/apps/resources/app/recipes/marketplace/examples/vendors/page.mdx",
"pathname": "/recipes/marketplace/examples/vendors"
+8
View File
@@ -7495,6 +7495,14 @@ export const generatedSidebar = [
"path": "/recipes/marketplace/examples/vendors",
"title": "Example: Vendors",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/recipes/marketplace/examples/restaurant-delivery",
"title": "Example: Restaurant-Delivery",
"children": []
}
]
},
+5
View File
@@ -1571,6 +1571,11 @@ export const sidebar = sidebarAttachHrefCommonOptions([
path: "/recipes/marketplace/examples/vendors",
title: "Example: Vendors",
},
{
type: "link",
path: "/recipes/marketplace/examples/restaurant-delivery",
title: "Example: Restaurant-Delivery",
},
],
},
{
@@ -11,7 +11,7 @@ export const WorkflowDiagramList = ({
const clusters = createNodeClusters(workflow.steps)
return (
<div className="flex flex-col gap-docs_0.5">
<div className="flex flex-col gap-docs_0.5 my-docs_1">
{Object.entries(clusters).map(([depth, cluster]) => {
const next = getNextCluster(clusters, Number(depth))