Initial commit

This commit is contained in:
Zeeshaun
2026-05-05 15:47:17 +00:00
commit 398df1d2e3
17 changed files with 4184 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import mongoose from "mongoose";
const menuItemSchema = new mongoose.Schema(
{
name: { type: String, required: true, trim: true },
category: { type: String, required: true, trim: true },
description: { type: String, default: "", trim: true },
basePrice: { type: Number, required: true, min: 0 }
},
{ timestamps: true }
);
export const MenuItem = mongoose.model("MenuItem", menuItemSchema);