- node.js is command line runtime for javascript based on v8
- Node.js, it's a JavaScript runtime built on Chrome's V8 JavaScript engine. —> Node.js provided new host objects in addition to native JavaScript objects (source codeacdemy). Same engine. Node non-blocking queue fast efficient, less, don’t do one by one can handle it as it comes, send it as it is ready. Blocking analogy (the opposite:
- npm install
- install all dependencies in package.json
- npm install adds the node_modules folder if it doesn't already exists and add files to the folder
- If using npm i generates package.lock, you might seen yarn.lock if using yarn
- Rename any env.example file to .env if that file contains the environment variable and authentications that you would like to use
- npm start
- executes the startup script
tags: web dev, webdev,
No comments:
Post a Comment