<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kisan Tamang</title>
    <description>The latest articles on DEV Community by Kisan Tamang (@kisanpakhreen).</description>
    <link>https://dev.to/kisanpakhreen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F165854%2F5b4e7c0a-d939-4b8b-8ff1-737ee88ec286.jpg</url>
      <title>DEV Community: Kisan Tamang</title>
      <link>https://dev.to/kisanpakhreen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kisanpakhreen"/>
    <language>en</language>
    <item>
      <title>AWS API Gateway Cheatsheet</title>
      <dc:creator>Kisan Tamang</dc:creator>
      <pubDate>Thu, 01 Apr 2021 16:12:25 +0000</pubDate>
      <link>https://dev.to/kisanpakhreen/aws-api-gateway-cheatsheet-j4o</link>
      <guid>https://dev.to/kisanpakhreen/aws-api-gateway-cheatsheet-j4o</guid>
      <description>&lt;p&gt;Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. API developers can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud. As an API Gateway API developer, you can create APIs for use in your own client applications.&lt;/p&gt;

&lt;p&gt;Features of AWS API Gateway&lt;br&gt;
✔ AWS Lambda + API Gateway = No infrastructure to manage&lt;br&gt;
✔ Support for the WebSocket Protocol&lt;br&gt;
✔ Handle API versioning(v1,v2…)&lt;br&gt;
✔ Handle different environments (dev, test, prod…)&lt;br&gt;
✔ Handle security (Authentication and Authorization)&lt;br&gt;
✔ Create API keys, handle request throttling&lt;br&gt;
✔ Swagger / Open API import to quickly define APIs&lt;br&gt;
✔ Transform and validate requests and responses&lt;br&gt;
✔ Generate SDK and API specifications&lt;br&gt;
✔ Cache API response&lt;/p&gt;




&lt;p&gt;API Gateway - Integrations High Level&lt;br&gt;
✔ Lambda Function&lt;br&gt;
✔ HTTP&lt;br&gt;
✔ AWS Services&lt;br&gt;
✔ VPC Link&lt;/p&gt;




&lt;p&gt;API Gateway - Endpoint Types&lt;br&gt;
✔ Edge-Optimized(default): For global clients, Request are routed through the CloudFront Edge locations (improves latency)&lt;br&gt;
✔ Regional: For clients within the same region&lt;br&gt;
✔ Private: Can only be accessed from your VPC using an interface VPC endpoint(ENI). Uses a resource policy to define access&lt;/p&gt;




&lt;p&gt;Lambda Proxy integration&lt;br&gt;
Use this option to proxy requests with all the lambda details available in the 'event' of the handler function.&lt;/p&gt;




&lt;p&gt;API Gateway - Deployment Stages&lt;br&gt;
✔ Making changes in the API Gateway does not mean they're effective&lt;br&gt;
✔ You need to make a "deployment" for them to be in effect&lt;br&gt;
✔ Changes are deployed to "Stages" (as many as you want)&lt;br&gt;
✔ Use the naming you like for stages (dev, test, prod)&lt;br&gt;
✔ Stages can be rolled back as a history of deployments is kept&lt;/p&gt;




&lt;p&gt;API Gateway - Stage Variables&lt;br&gt;
✔ Stage variables are like environment variables for API Gateway&lt;br&gt;
✔ Use them to change often changing configuration values&lt;br&gt;
✔ They can be used in Lambda function ARN, HTTP Endpoint, parameter templates&lt;br&gt;
✔ Stage variables are passed to the "context" object in AWS Lambda&lt;/p&gt;




&lt;p&gt;AWS API Gateway - Authentication &amp;amp; Authorization&lt;br&gt;
✔ Open - No authentication or authorization&lt;br&gt;
✔ IAM Permissions - Use IAM policies and AWS credentials to grant access&lt;br&gt;
✔ Cognito Authorizer - connect to the Cognito user pool and with OAuth, scope to enable authorization&lt;br&gt;
✔ Lambda authorizers - use lambda to validate a bearer token (OAuth or SAML, for example) or request parameters and grant access. Also called custom authorizers&lt;/p&gt;




&lt;p&gt;Canary&lt;br&gt;
A Canary is used to test new API deployments and/or changes to stage variables. A Canary can receive a percentage of requests going to your stage. In addition, API deployments will be made to the Canary first before being able to be promoted to the entire stage.&lt;/p&gt;




&lt;p&gt;Mapping Template&lt;br&gt;
✔ Mapping templates can be used to modify request/response&lt;br&gt;
✔ Rename/modify Query String Parameters&lt;br&gt;
✔ Modify body contents&lt;br&gt;
✔ Add headers&lt;br&gt;
✔ Uses Velocity Template Language (VTL)&lt;br&gt;
✔ Filter out the result (unnecessary)&lt;/p&gt;




&lt;p&gt;AWS API Gateway - CORS&lt;br&gt;
✔ CORS must be enabled when you receive API calls from another domain&lt;br&gt;
✔ The OPTIONS pre-flight request must contain the following headers:&lt;br&gt;
Access-Control-Allow-Method&lt;br&gt;
Access-Control-Allow-Headers&lt;br&gt;
Access-Control-Allow-Origin&lt;br&gt;
✔ CORS can be enabled through the console&lt;/p&gt;




&lt;p&gt;Thanks for reading.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>My Top Dev Tools</title>
      <dc:creator>Kisan Tamang</dc:creator>
      <pubDate>Sat, 26 Dec 2020 08:08:16 +0000</pubDate>
      <link>https://dev.to/kisanpakhreen/my-top-dev-tools-13ko</link>
      <guid>https://dev.to/kisanpakhreen/my-top-dev-tools-13ko</guid>
      <description>&lt;p&gt;My List:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Ubuntu Linux&lt;/li&gt;
&lt;li&gt;Zoom&lt;/li&gt;
&lt;li&gt;VIM
...
complete list.
&lt;a href="https://medium.com/swlh/my-top-dev-tools-in-2020-ec1fc8571dd3"&gt;https://medium.com/swlh/my-top-dev-tools-in-2020-ec1fc8571dd3&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Invoking lambda function with AWS SAM</title>
      <dc:creator>Kisan Tamang</dc:creator>
      <pubDate>Tue, 03 Nov 2020 15:14:17 +0000</pubDate>
      <link>https://dev.to/kisanpakhreen/invoking-lambda-function-with-aws-sam-37fe</link>
      <guid>https://dev.to/kisanpakhreen/invoking-lambda-function-with-aws-sam-37fe</guid>
      <description>&lt;p&gt;In this article, I've covered how you can use AWS SAM to debug the Lambda function locally. &lt;a href="https://medium.com/cloudyfox/invoking-lambda-functions-locally-with-aws-sam-d406f7bed91a"&gt;https://medium.com/cloudyfox/invoking-lambda-functions-locally-with-aws-sam-d406f7bed91a&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Getting started with DynamoDB</title>
      <dc:creator>Kisan Tamang</dc:creator>
      <pubDate>Fri, 30 Oct 2020 11:05:55 +0000</pubDate>
      <link>https://dev.to/kisanpakhreen/getting-started-with-dynamodb-4heb</link>
      <guid>https://dev.to/kisanpakhreen/getting-started-with-dynamodb-4heb</guid>
      <description>&lt;p&gt;AWS DynamoDB is a document-based key-value paired single-digit latency database from AWS.&lt;/p&gt;

&lt;p&gt;It is a fully serverless database from AWS which can be used in any kind of OLTP application.&lt;/p&gt;

&lt;p&gt;In this article, I've covered everything you need to know about DynamoDB to get started. Link:&lt;a href="https://bit.ly/3eckZv3"&gt;https://bit.ly/3eckZv3&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dynamodb</category>
    </item>
    <item>
      <title>Do you follow Test-Driven Development in JavaScript? Discuss</title>
      <dc:creator>Kisan Tamang</dc:creator>
      <pubDate>Wed, 22 Apr 2020 10:08:09 +0000</pubDate>
      <link>https://dev.to/kisanpakhreen/do-you-follow-test-driven-development-in-javascript-discuss-an4</link>
      <guid>https://dev.to/kisanpakhreen/do-you-follow-test-driven-development-in-javascript-discuss-an4</guid>
      <description></description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
