Skip to content

Create an endpoint to add an item to the database. #18

@lnardon

Description

@lnardon

Create an admin endpoint to add an item to the database.

Endpoint: /createMenuItem.

Use PrismaORM and follow the definition below.

interface Item {
  title: string;
  description: string;
  price: number;
  image: string;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions