This is a sample on how to build an API with AWS Lambda and API Gateway to paginate data (Cursor Pagination)
Ensure that must install:
npm install -g typescript serverless
Install dependencies via:
npm install
And I can run API in local via:
sls offline
sls deploy -stage dev