Official NodeJS docs - https://nodejs.org/en/docs/
NodeJS download for windows - https://nodejs.org/en/download/
(simply click on downloaded file and it will install nodejs)
NodeJS for Ubuntu - https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04
(it is best to use this process) - only use option 2, if you use option 1 (apt-get), it will install old version
NodeJS for mac - https://phoenixnap.com/kb/install-npm-mac
Install with homebrew
NVM installation for NodeJS - https://www.vultr.com/docs/install-nvm-and-node-js-on-ubuntu-20-04/
NVM for Mac - https://tecadmin.net/install-nvm-macos-with-homebrew/
NVM for windows - https://github.com/coreybutler/nvm-windows
NVM useful commands -
`nvm - -version` to check version
`nvm list` to list all the available nvm versions
`nvm use 15.0` to use a specific version of nodejs
`nvm install 15.0` to install a specific version of nodejs
Great books for NodeJS -
Advanced Nodejs books -
Some great articles to learn NodeJS -
https://medium.com/free-code-camp/what-exactly-is-node-js-ae36e97449f5
https://medium.com/edge-coders/node-js-streams-everything-you-need-to-know-c9141306be93
https://medium.com/dailyjs/how-i-automated-my-job-with-node-js-94bf4e423017
https://yonigoldberg.medium.com/19-ways-to-become-a-better-node-js-developer-in-2019-ffd3a8fbfe38
Some great youtube videos for Nodejs -
Some great projects to implement -
https://medium.com/free-code-camp/securing-node-js-restful-apis-with-json-web-tokens-9f811a92bb52
https://medium.com/free-code-camp/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2
https://medium.com/codeburst/build-simple-medium-com-on-node-js-and-react-js-a278c5192f47?source=search_post---------12----------------------------
https://medium.com/@atingenkay/creating-a-todo-app-with-node-js-express-8fa51f39b16f
Bootcamp -
NodeJS starter kit [ Github ] -> https://github.com/AkhilSharma90/nodejs-starter
Star it
Clone it
`npm install’
`npm start` - will not work right now as don’t have an index file
NodeJS starter kit on Gitpod virtual environment ->
https://gitpod.io#snapshot/964c6d65-bce5-4c05-a1a9-39712109c3b4
(Note :- This is a gitpod - a virtual environment to run code. When you click on this link, the project will be copied to your gitpod account, so make sure you first create a gitpod account so you can access this later.)
Opening the project, you will see an error message, that’s because there is no server.js file right now. We will build it together.
========================================================================
COMPLETED PROJECT BELOW -
NodeJS CRUD APP [Github] -> https://github.com/AkhilSharma90/node-crud-project
NodeJS CRUD APP on Gitpod virtual environment ->
https://gitpod.io#snapshot/8569488b-cb70-431c-9fc4-41b468d18f09
POSTMAN Collection - https://documenter.getpostman.com/view/11345637/2s8YCbma7L
You have to run this in postman
Project board briefing - > https://whimsical.com/nodejs-masterclass-scaler-SJpzkrCwPj8tqWZLGNA7sj
======================================================================
EXTRA PROJECT, JUST FOR LEARNING PURPOSES -
Github final ecommerce project ->
https://github.com/AkhilSharma90/node-ecommerce-V2/tree/master
https://www.youtube.com/watch?v=80KX6aD9R7M&list=PLnHJACx3NwAfRUcuKaYhZ6T5NRIpzgNGJ
Helpful Linux commands -
Stop server with port -> ctrl+c
Stop server immediately, sometimes leaving the port open -> ctrl+z
Kill processes on port - kill -9 $(lsof -t -i:8080)
Accessing a port on Gitpod - 3000-yourworkspace.ws-eu45.gitpod.io
No comments:
Post a Comment