Getting started with Node.js


#1

What is Node.js ?

Node.js is an open source server environment, Node.js uses JavaScript on the server

Why Node.js ?
Node.js uses asynchronous programming!

Node.js eliminates the waiting, and simply continues with the next request, runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient

Setup Nodejs
Download and install from

https://nodejs.org/en/

If you are into javascript then Node.js should be bread and butter. The first step towards learning should be practicing it side by side. Go ahead create CRUD API and feel free to use which ever DB you are comfortable with.

Please refer to this link for a head start -

In the above link they have used MongoDB which is a NoSQL DB.

Please reply for any queries or errors you are stuck with. Lets solve them together :slight_smile:

Cheers
Abishek


#2

Thanks a lot for the valuable information, Abishek!

I was looking for another language to do back-end development with because PHP is pretty boring.
I’ll definitely take a look at it.

Thanks,
Aniket


#3

Great! I had a hard time wrapping my head around and implementing projects with node using express.js and socket.io :sweat_smile:.

I’ll be looking out for your future posts and contributions :smile: