A 4-post collection

AWS Serverless stack - API Gateway, Lambda and DynamoDB

Hi. I've recently written an article about Claudia API Builder and AWS Lambda and it got a lot of views. You can check it here: If you haven't read it, now's the time, you will need to understand what is Claudia API Builder and AWS Lambda before going through this article. Today I want to talk about how can we use a database in Claudia API Builder and make an awesome serverless stack. Since we are using AWS Lambda service, in this

Read more

Do you Promise?

Are you still writing your async JavaScript code using callbacks or async library? It's the time to start to Promises! What is a Promise? As the word says, Promise is something that can be available now, or in future, or never. When someone promises you something, that can be fulfilled of rejected. In JavaScript, Promise represents the eventual result of an asynchronous function. It has 3 different states: pending - The initial state of a promise. fulfilled - Operation is successful. rejected - Operation failed. Why

Read more

Building serverless API with Claudia API Builder

Writing a scalable API is something that we're struggling with every day. We want an API can scale and be always online. If you're like me, you don't want to think about server infrastructure, downtimes and you want to have an easy way to deploy changes and updates. Now you probably ask "Is there some great service that can help us achieve what we want?". Yes, there is, welcome to serverless architecture, welcome to the era of AWS Lambda! About AWS Lambda AWS Lambda is a

Read more

Running Express, Koa and Hapi on HTTP/2

Since I've started to work on web apps, I am searching for ways to improve page speeds and create better user experience. We are minifying our code, bundling files and optimizing images. One thing that we don't think about is server protocol. Is there a way to increase speed by changing protocol? Yes, there is! Welcome to HTTP/2 era! HTTP/2 is latest version of HTTP protocol, made by the HTTP Working Group. It's developed from SPDY, experimental protocol made by Google. Last HTTP version

Read more