> For the complete documentation index, see [llms.txt](https://gelvezz23.gitbook.io/my-blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gelvezz23.gitbook.io/my-blog/learning/express.md).

# Express

{% hint style="info" %}
**Tener en cuenta:** Las versiones que estoy usuando de Node son:&#x20;

* nvm 0.39.1
* node 18.7.0
* npm 8.15.0
  {% endhint %}

## Paso 1 - Configuracion de Entorno&#x20;

Empece por tener `VS Code instalado`&#x20;

Ya teniendo todo esto claro vamos a ir a la consola, parado en tu proyecto y escribir lo siguiente.

```
npm init \
```

```

package name: (backendnode)
version: (1.0.0)
description:
entry point: (index.js)
test command:
git repository:
keywords:
author: Carlos Mario Gomez Gelvez
license: (ISC)
About to write to /Users/carlos.gomez/Documents/backendnode/package.json:

{
  "name": "backendnode",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Carlos Mario Gomez Gelvez",
  "license": "ISC"
}


Is this OK? (yes)
```

Al darle `Yes` ya nos va a crear un `package.json`

con la informacion&#x20;

```json
{
  "name": "backendnode",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Carlos Mario Gomez Gelvez",
  "license": "ISC"
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://gelvezz23.gitbook.io/my-blog/learning/express.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.
