API Endpoints and Database Mapping in TypeScript AWS Application
Learn how to create and manage API endpoints in TypeScript for an AWS application, including database mapping.
We'll cover the following...
API Endpoints and Database Tables
In order to support the various use cases that our application will need to support, we will need to write a number of API endpoints. These are shown in the following diagram:
Press + to interact
Here, we start with a GET endpoint on the /products
URL, which will fetch all
products that are available for sale. We can then get a specific product by calling the /products/{productId}
endpoint, where the ...