CodeWithYou

All Posts

  • Published on
    Retry with exponential backoff is a technique to handle network errors by retrying a failed request after waiting for an increasing amount of time between each retry attempt. In Node.js, you can implement retry with exponential backoff using the retry module or by building your own implementation. This technique is useful for dealing with unreliable networks or services that occasionally fail.
  • Published on
    Amazon API Gateway integration with AWS WAF is a great way to protect your APIs from common web exploits that could affect application availability, compromise security, or consume excessive resources.
  • Published on
    Recently, I worked on a project that required users to be able to sign in with their Google account and users to be able to link their Google account with their Cognito account. I found that there is not much information on the internet about how to do this. So I decided to write this article to share my experience. I will show you how to link a Cognito account with a Google account in the front end and back end.
  • Published on
    Do you want to code anywhere? AWS Cloud9 is a great tool for developers who want to code anywhere. It's a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It comes with a powerful code editor, debugger, and terminal. You can create and switch between multiple Cloud9 environments that include a full-fledged Linux server, code editor, and terminal. You can also connect to your existing AWS resources from within the IDE.
  • Published on
    Recently, AWS Lambda announced that it supports Node.js 18 and it is available in all AWS regions. This is a big news for Node.js developers. It means that we can use the latest version of Node.js in AWS Lambda. However, should we update the version of Node.js in the Lambda runtime? Let's find out.