# Preparation

## Basics of Backend development

* [Client server model](https://www.youtube.com/watch?v=L5BlpPU_muY) (6 min)
* [HTTP and HTML](https://www.youtube.com/watch?v=1K64fWX5z4U) (7 min)
* [Video about node](https://www.youtube.com/watch?v=pU9Q6oiQNd0) (13 min)
* [The structure of a web application](https://www.freecodecamp.org/news/how-the-web-works-part-ii-client-server-model-the-structure-of-a-web-application-735b4b6d76e3/) Up until the "That’s all folks! (Well, sorta…)" part

Try to formulate answers to these questions and bring your answers to the session:

1. What is the server and what is the client?
2. What is http?
3. What is Node.js?

## Basics of Node.js

* [First GET request (code introduction)](https://www.youtube.com/watch?v=QNw9q4YXR4E) (15 min)
* [Refresh on REST](https://fullstackopen.com/en/part3/node_js_and_express#rest)
* [A basic GET Request](https://fullstackopen.com/en/part3/node_js_and_express#fetching-a-single-resource)
* [A basic DELETE request](https://fullstackopen.com/en/part3/node_js_and_express#deleting-resources)
* [What is POSTMAN and how to install](https://fullstackopen.com/en/part3/node_js_and_express#postman) - Please install this before the session!

## Installation preparation

### Node

1. Setup `node` on your computer (skip to step 2 to check):
   1. Download from: [nodejs.org/en/download](https://nodejs.org/en/download/)
   2. Check if node is installed in your system by running the following commands in Command Prompt/PowerShell/Git Bash:
      * `node -v`
      * `npm -v`
      * In either case you should see the version of `node` or `npm` installed.

### Postman

[What is POSTMAN and how to install it](https://fullstackopen.com/en/part3/node_js_and_express#postman)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://program.hackyourfuture.dk/course-content/foundation/intro-to-backend/week1/preparation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
