Basics API usage
Month: February 2024
Elastic Search Pagination
Paginate search results Best practice API pagination ElasticSearch pagination techniques Deep pagination is one of the top performance killers for your cluster. Deep
React Notes
Isolate fetch using custome hook: To use this custom hook, you would simply import it into your component and call
Terraform notes
The definitive guide to using Terraform with the serverless framework Serverless pattern collection The entire Serverless Patterns Collection is also
AWS Best practices
Best practices for organizing larger serverless applications Best Practices for Designing Amazon API Gateway Private APIs and Private Integration HTTP
AWS Nodejs Load Credential from JSON
Load crendentials from json file Set up a config.json as follows: { “accesskeydId”: “”, “secretAccessKey”: “”, “sessionToken”:””, “securityToken”: “”, “region”:”us-west-2″
AWS Cloudwatch Notes
To see top 10 lambda functions by error count: Got to AWS console->Cloudwatch->All metrics SELECT SUM(Errors) FROM SCHEMA(“AWS/Lambda”, FunctionName) GROUP
Mac commands
To temporarily set the path environment variable on macOS: PATH=:$PATH Permanently: The way that macOS recommends is to add a