Getting Started Backend Development with JS


Hi! My name is Danyal Ahmed. I am learning Backend now but I want to purse my knowledge to others and that’s my duty. So In this Series we will Talk about Backend How that setups and how to create and work on production level / corporate level backend projects. I am following Chai aur Code by Hitesh Choudary for backend. If you want to learn extensivly so then join it Community.
Let’s Talk About Backend:
What we do in backend development?
- My simple answer is that we build logics at server-side like Handling APIs, Managing Database, Authentication, etc.
Before Dive into the disucssion I have some tasks for you:
- Go search on Google or any Search Engine “What is Server? Learn About it and Comment it at here.”
Okay Let’s Discuss some thing interesting:
What is NodeJS and Who Developed it?
\=> Basically, NodeJS was initially launched in 2009 by Ryan Dahl and it Asynchronous event-driven runtime environment. NodeJS is Cross Platform JavaScript Runtime Environment that runs on Windows, MacOS, Linux, Unix. NodeJS helps us to run the JS code or program outside the Browser via V8 JS engine.
Again I have one more task for you: Go Search about “V8 JS Engine“.
- Ryan Dahl Basically Embed the V8 Engine with C++.
Let’s Discuss about Benefits of Embedding code of C++:
We can execute JS code/Program outside the browser and V8 Engine.
JS can Communicate / Talk to Native Machine. Like: File Handling.
By Doing this we are able to create web server in JS.
What Problem NodeJS Solve?
- Before NodeJS: php, java, etc was used as backend language.
They use multi threaded blocking models means each client request created new thread, When app has too many request at once it use a lot of memory or crashed.
So,
Firstly, NodeJS is Asynchronous event-driven Runtime Environment. Means When too many request comes on server it handle by non blocking operation by which server didn’t crash.
So, In Simple word NodeJS is a Runtime Environment that handle request asynchronously via Event Loop.
If you gain some knowledge from my article then give me some appreciation via Comment Section.
If you have some advise for me. Kindly share it with openly.
Thank You!!
In Next Publication we will discuss more things:
How to Create Server via NodeJS?
Why we use ExpressJS instead of NodeJS?
Difference between NodeJS and ExpressJS syntax?
and More!!!
Subscribe to my newsletter
Read articles from Danyal Ahmed directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Danyal Ahmed
Danyal Ahmed
💻 Web Developer | 📚 Computer Science Student | 🕋 Quran Memorizer I'm Danyal Ahmed, passionate about backend development with JavaScript & Django. Sharing what I learn as I grow. Let’s build & learn together! 🚀