Skip to content

TheOjasSingh/Menu_Manage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Menu Management Backend

Overview

This project is a Node.js backend server for managing a menu, with categories, subcategories, and items.

Setup

  1. Clone the repository.
  2. Install dependencies:
    npm install
  3. Start the server:
    npm start

API Endpoints

Categories

  • Create Category: POST /categories
  • Get All Categories: GET /categories
  • Get Category by ID: GET /categories/:id
  • Edit Category: PATCH /categories/:id

SubCategories

  • Create SubCategory: POST /subcategories/:categoryId
  • Get All SubCategories: GET /subcategories
  • Get SubCategories by Category: GET /subcategories/category/:categoryId
  • Get SubCategory by ID: GET /subcategories/:id
  • Edit SubCategory: PATCH /subcategories/:id

Items

  • Create Item: POST /items/:parentType/:parentId
  • Get All Items: GET /items
  • Get Items by Category: GET /items/category/:categoryId
  • Get Items by SubCategory: GET /items/subcategory/:subCategoryId
  • Get Item by ID: GET /items/:id
  • Edit Item: PATCH /items/:id
  • Search Items by Name: GET /items/search/:name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published