# Intro to Backend

Here you can find module content and assignments for the Intro to Backend module.

| Week | Topic                                                                                                                                                                            | Preparation                                                                                                   | Assignment                                                                                                  | Session Plan                                                                                                    |
| ---- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| 1.   | [How to build a simple webserver, creating and testing APIs, and interacting with databases](https://program.hackyourfuture.dk/course-content/foundation/intro-to-backend/week1) | [Preparation](https://program.hackyourfuture.dk/course-content/foundation/intro-to-backend/week1/preparation) | [Assignment](https://program.hackyourfuture.dk/course-content/foundation/intro-to-backend/week1/assignment) | [Session Plan](https://program.hackyourfuture.dk/course-content/foundation/intro-to-backend/week1/session-plan) |

## Learning goals

* [ ] Introduction to Node.js
  * [ ] [What is node and why node?](https://www.youtube.com/watch?v=pU9Q6oiQNd0)
  * [ ] V8 vs the browser that runs js?
  * [ ] What can you build with Node.js?
    * Utilities
    * Web server
    * Much more
* [ ] Building a simple webserver
  * [ ] Creating simple GET endpoints to return data, including from databases
* [ ] Sending requests
  * [ ] What is Postman
  * [ ] Making GET, POST AND DELETE requests to APIs using Postman
* [ ] Database interaction
  * [ ] What is CRUD (Create, Read, Update, Delete)
  * [ ] CRUD vs REST
  * [ ] Connecting to a database using JavaScript
  * [ ] Executing queries (i.e. CRUD)


---

# 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.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.
