Files
uni/year2/semester1/logseq-stuff/pages/Introduction to NodeJS.md

1.3 KiB

  • #CT216 - Software Engineering I
  • Previous Topic: JavaScript Functions & Events
  • Next Topic: Firebase Functions
  • Relevant Slides: Week 9 - Introduction to NodeJS.pdf Week 9 - NodeJS, APIs, Deploying to Firebase.pdf
  • Background

    • V8 is an open-source JavaScript engine developed by Google, written in C++ and used in the Google Chrome browser.
    • Node.js runs on the V8 engine, written in JavaScript & C++.
      • It's not a programming lanuage - it's a runtime environment.
    • In simple terms, Node.js is "server-side JS".
      • It is a high-performance network applications application that is well-optimised for high concurrent environments.
  • Rest APIs

    • What is an API? #card card-last-interval:: 0.98 card-repeats:: 1 card-ease-factor:: 2.36 card-next-schedule:: 2022-11-15T15:24:31.946Z card-last-reviewed:: 2022-11-14T16:24:31.946Z card-last-score:: 3
      • An Application Programming Interface (API) expresses a software component in terms of its operations, inputs, outputs, & underlying types.
    • Adding Firebase Functions

      • We are using Firebase functions to host our REST APIs.