CodeWithYou

Latest

Everything about Web Development and Cloud Computing.

Optimizing Application Security. A Guide to Using cdk_nag with AWS CDK
awscdk

Optimizing Application Security. A Guide to Using cdk_nag with AWS CDK

In this blog post, we will explore how to enhance application security using cdk_nag with AWS CDK. Learn how to identify and address security issues in your CDK application to ensure a secure deployment.
Implementing Autocomplete with Elasticsearch and Node.js
elasticsearchnodejs

Implementing Autocomplete with Elasticsearch and Node.js

Autocomplete functionality, as seen on platforms like YouTube, can greatly enhance the user experience by providing real-time suggestions while typing. In this blog post, we'll explore how to implement autocomplete using Elasticsearch, a powerful search engine, in combination with Node.js. We'll cover the steps involved and provide code samples and pseudo code to help you get started.
Changing Field Types in Elasticsearch
elasticsearchReindexing

Changing Field Types in Elasticsearch

Learn how to change field types in Elasticsearch with a step-by-step guide. Create a new index, define the desired field mapping, reindex the data, and optionally delete the old index. Ensure data integrity and minimize the risk of data loss.
Advertisement
Using AWS S3 for Web Hosting - Benefits and Limitations
web-hostingaws

Using AWS S3 for Web Hosting - Benefits and Limitations

I have been using AWS S3 for web hosting for a few years now. I have found it to be a great solution for hosting static websites, but it's not without its limitations. In this article, I'll explore the benefits and limitations of using AWS S3 for web hosting.
Connecting AWS Lambda with Amazon RDS using AWS CDK and Node.js
awslambda

Connecting AWS Lambda with Amazon RDS using AWS CDK and Node.js

This blog post gives an overview of how to connect an AWS Lambda function to an RDS instance to perform database operations. We will explore how to connect Lambda to RDS over the Internet or VPC, and how to make RDS publicly accessible.
How to Use Axios to Handle SSL/TLS Certificate Verification Errors in Node.js
DevelopmentError-handling

How to Use Axios to Handle SSL/TLS Certificate Verification Errors in Node.js

This article explains how to handle SSL/TLS certificate verification errors that occur when making HTTPS requests in Node.js using Axios. The article recommends passing a custom httpsAgent option with rejectUnauthorized set to false to disable SSL/TLS certificate verification. However, the article emphasizes the importance of enabling certificate verification in production environments to ensure data security.
Advertisement
Amazon API Gateway integration with AWS WAF
api-gatewaywaf

Amazon API Gateway integration with AWS WAF

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.
How to link a Cognito account with a Google account(source code full stack)
cognitofull-solution

How to link a Cognito account with a Google account(source code full stack)

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.
Code anywhere. AWS Cloud9
aws-cloud9IDE

Code anywhere. AWS Cloud9

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.
AWS Lambda support Node.js 18 now.
LambdaServerless

AWS Lambda support Node.js 18 now.

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.
Subscribe to the newsletter
Advertisement