In this tutorial, you will learn how to use TypeScript in a Node.js and Express project. The purpose of the tutorial is to show you how to create a project with these technologies. Its purpose is not to debate whether you should add TypeScript or not.
Before going any further, the prerequisites are:
The first step is to create a directory for the project and initialise it. …
First of all, let’s start with an explanation of what design patterns are. In the simplest terms, they allow us to reuse code for recurring problems. Instead of solving the same problems again and again, we can reuse efficient code that already works.
Why would you use design patterns? Here are some good reasons:
It’s important to note that these patterns are universal, which means they apply to other programming languages/frameworks/libraries. However, in this article, we will use Node.js …
In this article, I want to talk about the top five mistakes I made as a junior developer. They are not specific to my case, and many other developers have made the same mistakes.
As a result, I want to put them in writing so that others can see and avoid them. Without further ado, let’s see what these mistakes are and how to avoid them.
One of the misconceptions many junior developers have is that their questions are stupid. How many times did you avoid asking a question thinking that it’s silly?
I do not know about you, but this misconception stopped me from asking a lot of questions. And guess what the result was: I was confused and did not know how to approach tasks. …
“In tech, interviews are harder than the actual jobs”. This is a joke, but it can be true in many cases. Thus, in this article, you will find seven GitHub repositories that will help you ace the interviews.
These repositories include information about:
Let’s dive in!
Amazon Relational Database Service allows us to create, run, and manage relational databases in the cloud. With RDS, you can choose from six well-known relational database engines:
Why would you choose to use AWS RDS? RDS abstracts the complex tasks and lets you focus on the most important ones. For instance, RDS manages backups, patching, failure detection, and recovery by itself.
Thus, instead of spending time to do all those, you can focus on more critical tasks. …
I mainly build the back end of my applications using Node.js and Express. As a result, I have done a lot of courses on this topic. In this article, I want to present to you my favorite courses to learn Node and Express.
They vary in difficulty. Also, each course has its particularities. For instance, some teach you sessions and some do not. Therefore, they complement each other, even though there is some overlap between them.
With that said, remember that nothing helps you more than building projects yourself. Follow the courses and then put what you learned to use! Also, it’s important to note that the courses are in no particular order. …
Working eight hours a day and having side projects can be very difficult. I know that from experience. In the beginning, I also struggled to find a balance between my work and my side projects.
However, I have found a way to organize my work and my time. I would like to think that I’ve found the perfect balance. As a result, I would like to share what I do with the hope that it can help you as well.
By the way, when I talk about projects, I don’t mean programming projects exclusively. I refer to being present on social media, creating applications, creating content, and anything related to software development. …
There are already a plethora of blogs and tutorials on the internet. Thus, the question is — should you start a blog as a developer? The answer is — yes.
Even though there are lots of choices on the internet, you can differentiate yourself by providing quality information. Also, your perspective and experience are unique.
One of the benefits is that you save your future self from headaches. By writing about how you solve various challenges, you always have a reference to come back to. If you run into the same issue in the future, you have a quick solution.
For instance, each time I re-install my operating system, I have to set up Git aliases. The issue is that I cannot remember from the top of my head how to do it. …
In this article, you will learn how to use Tailwind CSS with Node.js, Express, and Pug. The purpose of this tutorial is to teach you how to create a Node application with Tailwind CSS, Express, and Pug.
The first step is to create and configure our application. Run the following commands to create an empty directory called
nodejs-tailwind and change the current directory to it:
Now that we are in the
nodejs-tailwind directory, we have to initialize our Node project. …
Do you want to build projects, but you struggle to get programming project ideas? Do you wonder how you could get some ideas? In this article, I will explain how you can get some inspiration to practice your programming skills.
It does not matter what type of developer you are because the advice applies to all areas of development.
Warning: Before going further, I want to mention that it does NOT mean copying. You should acknowledge and make it obvious whenever you take a piece of code from a tutorial. …