Skip to content

Gateway

Connor Fong edited this page Mar 7, 2020 · 1 revision

Gateway Service

Purpose

The gateway service validates all incoming traffic and defines all possible client operations.

API

To User

POST /user/login A user is able to log in and receive their userId.

To Ingredient

GET /ingredient/:userId A user is able to see their current inventory of ingredients.

POST /ingredient/:userId A user is able to add an ingredient to their inventory of ingredients.

PATCH /ingredient/:userId A user is able to update the quantity of an ingredient within their inventory.

DELETE /ingredient/:userId A user is able to delete an ingredient from their inventory

Clone this wiki locally