I have been interviewing candidates from the past 5 years. A lot of candidates are not sure what to learn and where to learn from, here is a short blog post about what you should know and where to learn from. If you think you are well versed with the following things, drop a message we are always hiring. This post is meant for candidates applying in a startup with some experience.
They each have their own database layers that they connect to (Redis, Mongo, Mysql etc.). With different micro-services connecting to different db versions.
When a new developer joins the team, he/she wastes a lot of time installing all the dependencies, and hates it.
And lastly, we want to keep our dev stack as close to production stack as possible.
Consider the Following Project Architecture
Service A is dependent on
And So on..(You get my point)
Now Imagine, starting all of the above, with proper language versions and database versions. …
This post is about how I ended up being a web developer despite pursuing Civil Engineering at IIT Delhi. How I learned development and developed a lot of projects at scale. What are the key takeaways for coders who want to learn the art of web development?
TLDR; Action Bias, if you have a product in mind start building it. I started my development journey by printing out “Hello World”.
A journey towards an awesome project begins by printing “Hello World”.
I was pursuing a startup(well who isn’t) idea during my final year, with a classmate of mine. …
CSS specificity is an interesting topic. As the project gets bigger, the number of CSS rules in our CSS files get larger — and things start behaving in an undesired manner. This leads to many of us using the
!important condition with different elements.
To understand specificity, let’s revise some basics, and I’ll add some of my own nomenclature to it.
There are three different group of selectors.
To make things simpler and easier to understand, I’ll call the first group the gold group, the second group the silver group, and the third group the bronze group. …
We all love ES6 syntax, and we have been using it in our front-end applications build on react and other frameworks.
It would be nice to be able to use ES6 syntax for our backend nodejs application.
It is very easy to set up and pretty straightforward. We’ll use an exiting project created using express-generator and then would add babel compiler to use es6 syntax.
For those who directly want to see code, go here https://github.com/tushartuteja/es6-sample-babel-nodejs …
Let’s start with two simple mathematical functions. You need to assume the following works.
Encrypt and Decrypt. They look like the following.
EncryptedString = Encrypt(String, EncryptKey)
String = Decrypt(EncryptedString, DecryptKey)
Encrypt function takes in a string and a encrypt key and return an encrypted string as output.
Decrypt functions takes in an encrypted string and a decrypt key and returns the actual string.
EncryptKey and DecryptKey form a unique pair, anyone can create their pair of encrypt and decrypt key. They always exist in pair and decrypt key can only decrypt strings encrypted using an encrypted key.
In Secure connection terms, we call these keys Public and Private keys. …
When we collaborate on a project, it’s better (almost every time) to use some common coding style so other developers can read your code with ease (and so they don’t come looking for you). But how do you make sure everyone knows the common coding style? And how do you ensure everyone is following the common coding style?
The answer to the second question is by adding a precommit hook to Git that tells ESLint to run analysis on the code before committing it. If there’s some deviation from the style guide, it should highlight it and prevent the developer from committing the code. …
What is Single Sign On ? It is an authentication mechanism by which one may use one central authentication system to login into multiple apps, like using one google account to login into “gmail”, “play store”, “google maps” etc.
When and Why to use SSO? When you have multiple apps and you don’t want to burden your users to remember multiple account usernames and passwords(they need free mental space to remember their anniversaries) then one should use SSO. The growing complexity of your system should not be borne by the users, but by the system itself.
I’ll explain a basic functionality of SSO using rails, we’ll make and explore three different systems. …
After building a lot of REST APIs in the last 6 years, I have finally converged on one single signature for all my responses.
There are 6 keys that I send in every response.
These three keys are simple and straightforward.
Data contains any data that you want to send back to the user, in case of a successful response.
Status Message is the is a message for the front-end developer as a one line summary about the request processed for eg. “Post created successfully”.
Status Code is an integer HTTP response, in the above case it would be 201.
This has been a life saver for us in a lot of cases. …