Recently, I've been working a full-time job as a hydroponic farmer, working to keep up with my fitness goals and coding. It's hard when most of your time is already spread out over so many activities. I've been looking to try and learn new technologies as I continue to sharpen my current skills. After a while of second guessing, I decided to take the plunge into node.js. I'm learning some pretty cool things as I go through this udemy course.
While I'm still learning about node, I'm becoming very familiar with the basics. If you're new to using node and want to check if you have it on your computer in the terminal you can type:
If it is installed you should see a version number. If you don't its just a simple trip to the docs and downloading whichever version is right for your computer(windows or mac). After following the prompts run the above command in terminal to double check if node exists on your computer now. You should see a version number appear like:
Once started you can test out your code skills in the REPL environment that node provides. Just type 'node' in the terminal and it will open up an environment for you to play around it. You can assign variable, practice functions, and maybe even more. Another way to practice your js chops within node is to create a .js file and practice your JS skill there. Depending if you want to check on certain outputs of a function you could run the file in your terminal as well by using
As I stated in the beginning, very basic knowledge so far, but a week ago I didn't even know what node was. Sounds like a win to me. I'm excited to dive deeper into using node and gain an even greater understanding of it. Give it a try and as always, Happy Coding!