method: POST
url: /api/v1/auth/login
{
email: 'string',
password: string
}
method: POST
url: /api/v1/auth/register
{
email: 'string',
password: string
}
method: GET
url: /api/v1/cart
method: POST
url: /api/v1/cart
{
name: 'string',
restaurant: 'string'
}
method: GET
url: /api/v1/cart/:id
method: patch
url: /api/v1/cart/:id
{
name: string,
restaurant: string,
deleted: boolean
}
method: delete
url: /api/v1/cart/:id
method: POST
url: /api/v1/order/:cartId/
{
addOrderItems: [
{
title: string,
quantity: number,
}
]
}
method: patch
url: /api/v1/order/:cartId/:id
{
title: string,
quantity: number
}
method: delete url: /api/v1/order/:cartId/:id