Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 960 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 960 Bytes

User API Endpoints

  • POST /api/register
    • Description: Register a new user.
  • POST /api/login
    • Description: Log in an existing user.
  • GET /api/current
    • Description: Retrieve information about the currently logged-in user.

Menu API Endpoints

  • GET /api/menus
    • Description: Retrieve all items in menu.
  • POST /api/menus
    • Description: Add a new item in menu.
  • PUT /api/menus/:id
    • Description: Update a specific item by its ID.
  • DELETE /api/blogs/:id
    • Description: Delete a specific item by its ID.

Order API Endpoints

  • GET /api/orders
    • Description: Retrieve all orders.
  • POST /api/orders
    • Description: Add a new order.
  • PUT /api/orders/:id
    • Description: Update a specific order by its ID.
  • GET /api/orders/:id
    • Description: Retrieve a specific order by its ID.
  • DELETE /api/orders/:id
    • Description: Delete a specific order by its ID.