ScottEspo / next-product-site

Mock NextJS Product Application
MIT License
0 stars 0 forks source link

[New Feature]: Product API Endpoints for Small Dataset #9

Open ScottEspo opened 1 month ago

ScottEspo commented 1 month ago

Acceptance Criteria

Need an endpoint that serves the list of products that are available in the mock data. Need an endpoint that queries for a single product and returns the information for that product. Need an endpoint that returns a list of products that start with a search query.

Considerations

What is the structure of the request?

Area of Focus

Backend

ScottEspo commented 4 weeks ago

Moved the dataset to an AWS hosted DynamoDB database and put API Gateway and lambda in front of it. Reconfigured app to call the api gateway

Probably should have gone with DocumentDB in hindsight for better searching capabilities

Lambda can easily be modified to filter out results