At the heart of all react, applications are components. A Component is a piece of the user interface. While building applications with…
When I started as a Software Engineer 2 years ago, this frontend, backend, database, deployment, and all these terms freaked me out. To understand what Angular is or why it is used, we need to first know where it fits in this big world of application development and what part it plays in it, so let’s begin.
We have faced multiple scenarios where we might want to globally capture or change every request or response, like append a user’s token or handle errors from the response and we can achieve this using Http Interceptor. Interceptor is a special Angular Service that can be used to intercept all the request and response calls and modify them to our requirement.
Interceptors allow us to intercept incoming or outgoing HTTP requests using the
HttpClient. They can handle both
HttpRequest as well as
By intercepting the Http request, we can modify or change the value of the request, and by…
2 years back I started as a rookie and was anxious to enter the programming world, and there are several things that I wish someone had told me when I started this journey rather than finding out the hard way. Hope this article helps some of the new minds who are going to start their journey into the programming world.
Programming is an infinite world where new technologies emerge every day and we need to be updated with the market requirements to be of significance and you can’t go to institutions to learn these new technologies, but you need to…
“Choose a job you love and you will never work a day in your life.”
We see tons of motivational quotes daily on making your passion a career like the one mentioned above, but nobody told about the struggles that we might end up facing. Each one of us has different passions in life and doing them gives a sense of satisfaction.
It is the one thing that excites me, that I look forward to doing in my mediocre life, and makes me feel alive, who wouldn’t want to do it for a living? …
“Mental illness is nothing to be ashamed of, but stigma and bias shame us all” — Bill Clinton
We experience intense, excessive, and persistent worry and fear about everyday situations. There's no fixed formula to know what triggers anxiety in a particular person, it depends on many criteria. It can be triggered due to the loss of a loved one or financial problems or work stress. It can even be triggered due to food habits like excess alcohol or caffeine. You might experience it daily but you might not have mapped the symptoms to anxiety.
Parallelism is the utilization of multiple threads in an operating system. Routines can run at the same time regardless of execution order.
Let’s build a RESTful application using the following technologies
Please install node on the system if you haven’t already https://nodejs.org/en/download/
Let’s first create a node.js project.
npm init -y
So the above 3 lines will create a directory called
codegig and we switch to it, then we run the
npm init -y which will create the
package.json for us. We’ll be using VScode IDE for programming but you can use other IDEs which you are familiar with.
Now we move on to installing the required dependencies for our project.
npm i body-parser…
How is Social Media affecting our generation?
What’s the first thing you do when you wake up? I’m pretty sure you start checking your phone.
Social media has become a part and parcel of our day-to-day life. It’s affecting us even without us noticing. Social media was started with the intent to create a forum to allow people from different social and cultural backgrounds to interact regardless of location and time. But, unfortunately, there’s a lot more negative impact on the youth from social media than positive.
When was the last time we made friends outside our workplace or college…
We use RestTemplate to make calls to other services but is it the best option? The RestTemplate will be deprecated in a future version and will not have major new features added going forward. Let’s see how we can use WebClient to make calls to other rest services and how it’s better than RestTemplate.
RestTemplate is the central class within the Spring framework for executing synchronous HTTP requests on the client-side. It is very similar to the JdbcTemplate, JmsTemplate, and the various other templates found in the Spring Framework. We can use RestTemplate by using just one dependency.
Coder 👨💻, Gamer🎮 and a dog person🐶. That says a lot about me, I guess😛.