Imports in Angular applications can get messy, particularly in ones that have a very nested structure. While a nested project directory structure has many benefits that make it much better than a flat structure, relative and/or absolute import paths in such cases can be agonizingly long. For instance, consider the following project directory.

The Problem


Whenever the topic of top contenders for India’s answer to the Silicon Valley comes up, the unanimous answer is Bengaluru — has been, and will continue to be.

That said, once we get past that sobriquet, not many nations in the world would have as many IT hubs as India does, across the length and breadth of it — Hyderabad, Pune, Gurgaon… Among these though, one that has silently, yet steadily and at times exponentially making a climb to the top of the list is the Queen of the Arabian Sea, Kochi.

Personally, my journey as a web developer started…


Once you get a hold of it, event-driven implementations using RxJS go a long way in making your Angular app dynamic. Even if you’re in your early days of using Angular, it’s highly recommended that you make use of Observables, Subjects, Subscriptions, etc. in your application to get the best out of the app. That said, if not done right, RxJS implementation can come back to you haunt you in the form of performance drops for your applications. And one of the top things even developers who have been into Angular for a while may get wrong is the concept…


For any Angular developer, amateur or expert, looking for cheap(or free)hosting solutions for their projects, Firebase Hosting is one of the best solutions you have access to — it’s free and the deployment process is really easy. In this post, we’ll look at how Angular apps can be deployed into Firebase hosting automatically when you push your code to Github, using Github Actions.

Introductions first. Angular(NOT AngularJS), a UI framework developed and maintained by the good people from Google and written in Typescript, developed by a few more good people from Microsoft(since you’re here, I’m assuming you already knew that)…


Let’s face it — Javascript is a funny language, to say the least. And the internet is filled with articles articulating this. But it’s simple, powerful and ubiquitous, and learning a trick or two wouldn’t go amiss. In this article, we’ll be discussing a tricky bit in Javascript — copying.

Consider two variables a and b. You have a value stored in a, which you wish to copy into b. This can be done as follows

Now you might be wondering what was the point of showing that, for that was obvious. Bear with me. This method holds true…


Anagram, yes. The next Node? Let’s see.

Node.js over the past few years has become ubiquitous as a server-side language and a general Javascript runtime. So when Ryan Dahl presented Deno.js in April 2019, people were surprised. Oh, if his name sounds familiar, he is the guy who created Node.js. He had the following disclaimer in front of the slide deck:

This talk is aimed at experienced enthusiasts. If this isn’t you: Don’t Panic. Ignore this talk — use Node. Node isn’t going anywhere.

With that out of the way, let’s get started.

In 2018, Ryan made a presentation where…


API Sandbox

In the first part of this tutorial, we achieved the following:

  • Project Setup
  • Building the basic functionality of sending requests and receiving responses for GET and POST REST API endpoints
  • Attach custom request body to POST requests

If you still haven't read Part 1, it’s strongly recommended that you do so before proceeding

In this second and final part of the tutorial, we’ll build on our application and add two more functionalities:

  • Attach custom Headers to the API requests
  • Saving and loading past requests so that they may be reused

Attach custom Headers to the API requests

Many times, or in fact more often than not, it’s…


API Sandbox

Postman is one of the most popularly used solutions among developers around the world. While Postman as such is a ‘Collaboration Platform for API Development’, it’s used most commonly for one purpose — testing REST API endpoints. In this tutorial series, we’ll look at how we can develop a similar API interrogation tool purely on Angular. You can see the finished application live in the following link:

The application we have here, ahs the following features:

  • Test GET and POST REST API endpoints.
  • Attach custom request headers.
  • Attach custom fields to the POST request body with support for string, number…

In a world that runs on terabytes upon terabytes of data, placing a number on and quantifying items has become little short of a necessity. And why this need to associate numbers with everything? So that the goals of efficiency can be achieved. In the paradigm of an organisation, measurement of the members’ productivity is inevitable. Everybody is constantly monitored by one or the other. This naturally means that over time, metrics have been devised for quantifying productivity. But it isn’t an easy task, especially when it comes to certain classes of members. Case in point? Developers. …


A Monday morning, roads filled with commuters en route to their offices, to get started on a fresh week of work. horns blaring all around, everybody is in about to get ahead in the absolute pandemonium that traffic has transcended to.

Country, language and people might vary but this scene is something that every city witnesses — particularly the ones that are fuelled by a silicon-based economy. Sitting in a cab or bus or whatever means of transport you’re using, this might be the instance where for one fleeting moment you start thinking that Thanos had a point after all.

Ashwin Sathian

Software Developer | Blogger | Part-time Nerd

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store