Skip to content

Microservices of the restaurant using Node.js with middy middlewares, serverless framework, and AWS(api-gateway, lambda, S3)

Notifications You must be signed in to change notification settings

SourceSquack/RustikaBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Endpoints

Platos API

  • GET /platos Retrieves a list of all the available platos.

  • GET /platos/{id} Retrieves the details of a specific plato identified by {id}.

  • POST /platos Creates a new plato with the provided data in the request body.

  • PUT /platos/{id} Updates the data of an existing plato identified by {id} with the data provided in the request body.

  • DELETE /platos/{id} Deletes an existing plato identified by {id}.

Bebidas API

  • GET /bebidas Retrieves a list of all the available bebidas.

  • GET /bebidas/{id} Retrieves the details of a specific bebida identified by {id}.

  • POST /bebidas Creates a new bebida with the provided data in the request body.

  • PUT /bebidas/{id} Updates the data of an existing bebida identified by {id} with the data provided in the request body.

  • DELETE /bebidas/{id} Deletes an existing bebida identified by {id}.

Ofertas API

  • GET /ofertas Retrieves a list of all the available ofertas.

  • POST /ofertas Creates a new oferta with the provided data in the request body.

  • PUT /ofertas Updates the data of an existing oferta with the data provided in the request body.

  • DELETE /ofertas Deletes an existing oferta.

Descuentos API

  • GET /descuentos Retrieves a list of all the available descuentos.

  • POST /descuentos Creates a new descuento with the provided data in the request body.

  • PUT /descuentos Updates the data of an existing descuento with the data provided in the request body.

  • DELETE /descuentos Deletes an existing descuento.

Reservas API

  • GET /reservas Retrieves a list of all the available reservas.

  • POST /reservas Creates a new reserva with the provided data in the request body.

  • PUT /reservas Updates the data of an existing reserva with the data provided in the request body.

  • DELETE /reservas Deletes an existing reserva.

Test API

  • POST /test This endpoint is for testing purposes only.

About

Microservices of the restaurant using Node.js with middy middlewares, serverless framework, and AWS(api-gateway, lambda, S3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •