- Node Runtime
- NPM
- Project Setup
- Express.js Framework
Links:
- NPM Packages, Beispiel express: https://www.npmjs.com/package/express
- Express Hello World: https://expressjs.com/en/starter/hello-world.html
- Express Static Middleware: https://expressjs.com/en/starter/static-files.html
- HTTP Protocol (Siehe Handout)
- REST API
- fetch() im Browser
Links:
- Fetch (nachfolger von XMLHttpRequest): https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
- Lange Liste der HTTP Header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
- fetch, JSON.parse, JSON.stringify, body-parser
- CRUD
- HTTP GET vs POST
- fs.writeFile, fs.readFile
Links:
- Warum braucht man den Body-Parser: https://www.quora.com/What-exactly-does-body-parser-do-with-express-js-and-why-do-I-need-it
- CRUD - Create Read Update Delete: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete
- fetch, JSON.parse, body parser
- Sicherheitsabfrage
- HTTP Status Codes
Links:
- HTTP Status Codes und deren Bedeutung: https://httpstatuses.com/
- module.exports & require
- mongodb
- mongoose
- PATCH request
- mongoose .save() / update
- async / await