top | item 24373342

(no title)

happppy | 5 years ago

I am new in Node.js (only used express). Made some basic CRUD projects. I haven't given any interview or worked on Node.js in production. Can you please tell me what things are required to be considered a good Nodejs candidate? any libraries, concepts that I should look into? I would be very thankful to you.

discuss

order

Raed667|5 years ago

First of all, CRUD projects are great to start learning kudos!

As far as the node/express route I'd say you should learn about the `req` (request) and `res` (response) objects, what information they have and what you can do with them. It would be pretty helpful to learn about how express middlewares work (they allow you to put little pieces of logic that will validate/enhance/authenticate etc..)

Express isn't the only library outthere you don't need to learn them all but its good to know they exist (hapi, koa, ...)

For node I think it is important to know how to use promises, (async/await) and some basic system libraries (such as `fs`, `path`, `os`).

After that you should probably transition form JavaScript to TypeScript (most new project will start with TypeScript today, and older ones are migrating to it).

Check starter projects, you can find a bootstrapped node js project with almost any framework you can think of, use it if it makes your life easier and later learn how to make your own project from scratch to learn the basics.

Hope you enjoy your JS journey ;)

happppy|5 years ago

Thanks a lot. I am mainly doing same as you said, guess I am doing fine. I need to look into `fs`, `path`, and `os` though. I have just started working with TypeScript this year and really like it, also made a small starter project in TypeScript myself, took help from online tutorials.