# Node

This module is part of the Backend specialism and focuses on using Node.js to build backend services, APIs, and databases. It builds on the Introduction to Backend module from Foundation with more advanced tooling, patterns, and responsibilities.

## Contents

| Week | Topic                        | Preparation                                                                                    | Session Plan                                                                                                   | Assignment                                                                                   |
| ---- | ---------------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| 1.   | Express                      | [Preparation](https://program.hackyourfuture.dk/course-content/backend/node/week1/preparation) | [Session plan](https://program.hackyourfuture.dk/course-content/backend/node/week1/session-plan) (for mentors) | [Assignment](https://program.hackyourfuture.dk/course-content/backend/node/week1/assignment) |
| 2.   | API design and documentation | [Preparation](https://program.hackyourfuture.dk/course-content/backend/node/week2/preparation) | [Session plan](https://program.hackyourfuture.dk/course-content/backend/node/week2/session-plan) (for mentors) | [Assignment](https://program.hackyourfuture.dk/course-content/backend/node/week1/assignment) |
| 3.   | Authentication & Security    | [Preparation](https://program.hackyourfuture.dk/course-content/backend/node/week3/preparation) | [Session plan](https://program.hackyourfuture.dk/course-content/backend/node/week3/session-plan) (for mentors) | [Assignment](https://program.hackyourfuture.dk/course-content/backend/node/week3/assignment) |

## Module Learning Goals

By the end of this module, you will be able to:

* [ ] Build web servers with Express.js
* [ ] Design and implement APIs using HTTP methods following REST principles
* [ ] Use middlewares for authentication, logging, and validation
* [ ] Use logging and debugging tools to monitor and troubleshoot applications
* [ ] Connect to databases and implement CRUD operations
* [ ] Test APIs using Postman
* [ ] Document APIs using Swagger/OpenAPI


---

# 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/backend/node.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.
