Configure Serverless Offline + AWS Simple Queue Service(SQS)
Serverless Offline can not send message to AWS SQS locally. Let's configure our AWS SQS (Amazon Simple Queue Service) with Serverless Offline. ...
Managing dependency on external modules in a seamless way
Introduction Have you ever worked with a project that depends on external dependency packages throughout your application code base? External packages can change at any time, which can cause issues and make refactoring difficult. To avoid this problem, we can use the Adapter Design Pattern to wrap our external dependency packages with a wrapper component that maps their interfaces back to our internal ones. In this article, we will talk about the Adapter Pattern, and how it...
Configure your React + Vite Application for Tailwind CSS
Introduction Tailwind is a sizable collection of tiny CSS utility classes for rapidly and reliably creating attractive websites. Frameworks like Antd, Bootstrap and Material Design have high-level components like buttons, cards, grids, menus and forms to create different components, Tailwind provides a more practical approach by giving you utility classes that can be used to create components similar to these. This approach gives you significantly more creative freedom than other CSS frameworks while still sticking to...
Improving cost and efficiency by using AWS Lambda’s cache
Introduction In this blog, we're going to discuss how global variables inside AWS Lambda work and how you can use them in your serverless applications to increase performance and cache values. Let’s first start with the definition of cache. According to AWS official documentation, “In computing, a cache is a high-speed data storage layer that stores a subset of data, typically transient in nature, so that future requests for that data are served up faster than is...
An approach for working with legacy API and new API
Introduction When we first start working with a third-party API, the version we started with may become obsolete after a few years since the legacy API may no longer be supported by the original creators or contains security problems when we need to migrate to newer versions. There could be a variety of other reasons to upgrade, such as the expense of maintaining the legacy API being greater and inefficient than the latest version, as well...