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

23 lines
1.3 KiB
Markdown

- #[[CT216 - Software Engineering I]]
- **Previous Topic:** [[JavaScript Functions & Events]]
- **Next Topic:** [[Firebase Functions]]
- **Relevant Slides:** ![Week 9 - Introduction to NodeJS.pdf](../assets/Week_9_-_Introduction_to_NodeJS_1668008966428_0.pdf) ![Week 9 - NodeJS, APIs, Deploying to Firebase.pdf](../assets/Week_9_-_NodeJS,_APIs,_Deploying_to_Firebase_1668009200983_0.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.
-