Lambda in TypeScript with Serverless Framework
Hello everyone. Today I would like to show you how to create your own lambda function in typescript. To achieve this I’ll use the serverless framework and AWS cloud. But first, let’s start with some theory to explain what is serverless. Without further ado, let’s get into the topic.
Introduction to FastAPI — a great modern web framework
Hi folks! It has been some time since I last wrote an article. I had lots of work, but now I’m back! Today I would like to present you my favourite web framework in Python - FastAPI. This framework is based on the author’s experience with other Python web frameworks like Django, Flask, Requests. Fast API is inspired not only by web frameworks. One of the inspirations for it was also NestJS.
Understanding Redux: Beginner's guide
When you are a junior developer, learning Redux can be something really overwhelming. This leads to avoiding it at all cost and using alternatives like MobX, ContextAPI or simple React Hooks. It's not something bad actually, but if you take a look at job offers, you can see Redux is almost always a requirement. In this article I'll try to explain Redux in the simplest way I can. Let's do it!
Why is setState giving me the wrong value?
In the React environment, working with properties and states is an obvious thing, because both props and states represent rendered values, i.e., what’s currently seen on the screen. To apply changes to a component we need to change the components state or props. React only updates what’s necessary by comparing an element and its children to the previous one, and applies the DOM updates to bring the DOM to the desired state.
Have you migrated from Magento 1 platform? If not, then you have a good reason to do it as soon as possible.
Can you remember my previous articles where I wrote that Adobe stopped supporting the Magento 1 platform for good? If not, you can read this post here and get familiar with the topic. In short, I described a few scenarios that can occur when someone ignores the migration to a newer and supported version of Magento and feels that having enough luck to stay on the old Magento 1 platform. We didn't have to wait long for Cassandra's prophecy to come true—the worst just happened…
Navigation with an animated indicator
If you also pay attention to details and like UI improvements, this article is for you! This time, I’m happy to show you how to create a simple animated indicator in a navigation bar. However, such an indicator will configure its width and position automatically depending on our links.
Creating your custom image with Packer by HashiCorp
Dear Reader, do you also share the struggles of a DevOps life? Then you probably know the importance of the right tools - tools that we would love to be intuitive, well-organised, easy to use. It often happens that we can’t choose our favourite tools to work with. However, it shouldn’t stop you from testing by yourself! That’s what I do in my free time and I want to share with you what I got to know recently.
Adobe stops supporting Magento 1: What does this mean for your online business and why should you care?
In 2008, when someone was thinking seriously about having an online store, they would usually have picked a store based on the Magento platform. Back then, Magento 1 was very popular for merchants who wanted to sell goods over the internet. The time was just right because it was an era when the e-commerce industry was growing extremely fast, and a lot of companies wanted to emerge on this piece of the market.
How to translate React application with react-i18next - part 2
In one of my previous posts, I briefly described how to translate React application with react-i18next package. Now, I want to show you how you can detect the language and give user the possibility of changing it.
Implementing CRUD in web application using React and GraphQL
Creating CRUDs in applications (both web and desktop) is something that will happen sooner or later in every developer's life. But wait! What is a CRUD? Today, I'm going to show you how to implement Create, Read, Update and Delete operations with GraphQL and React.
Implementing server-side CRUD with TypeScript, TypeORM and GraphQL
Today, I would like to explain how to use GraphQL in parallel to TypeScript. GraphQL is a very interesting technology invented by Facebook in 2012 and presented to the audience in 2015. It's used for getting specific data by the client.
Quick Tips: creating simple accordion with React hooks
Welcome! We want to introduce a new type of articles called 'Quick tips' to show you very simple, but effective solutions that might be helpful in your everyday developer's life. A few days ago, I was working on our client’s website, and to meet the design needs I had to implement a simple accordion behavior. Long time ago, we could use jQuery library to make it real, but today, we can utilize React hooks.
Why is it important for your business to create high-quality software?
Creating software consistent with good programming practices and containing popular design patterns is beneficial on almost all fields of the software product. Increasing of overall performance, SEO visibility and also cost reduction are the main things if we’re talking about updating legacy projects to fulfills all good practices.
How to translate React application with react-i18next
Making web applications that support multiple languages is always a challenge, especially when we are talking about apps with currencies, numbers with formats that depend on user language, etc. Today I'm going to show you how to make the first step on the way to translate your web application.
How to avoid problems with deprecated npm packages?
Recently I found some very interesting articles related to popular npm packages (request and axios - both are simple HTTP clients) and how they are dying.
Level up with TypeScript
Some time ago we discussed with the team how we can improve the quality of code in our services and what we can do to increase our skills. So, from to time, we had a situation that someone uses a method in the not correct way. I mean too many or too few parameters or invalid types were passed to the method.
How to optimize Docker image with layer caching
Optimizing things is important part of development process. Even when we are living in the world of fast Internet connections, we still don't want to spend few seconds watching white screen and waiting for website content. And it is just a few seconds!