# Getting Started

Express est un framework web Node.js performant et **minimaliste**, accompagné d'un large écosystème.

Express fournit tous les outils pour l'implémentation d'applications web et de Restful APIs.

Express fait parti de la stack web **MEAN&#x20;*****(Mongo/Express/Angular/Node)*** actuellement très répandue.

{% hint style="info" %}
Comme indiqué précédemment concernant Node.js, Express nécessite une logique d'implémentation asynchrone. En fonction de vos besoins, il peut être plus judicieux dans certains cas d'utiliser un framework web Python avec [gevent](http://www.gevent.org/) pour implémenter un serveur web asynchrone avec une logique d'implémentation synchrone. 🤭
{% endhint %}

### Installation

```bash
yarn add express
```

### Utilisation

```javascript
const express = require('express');
const app = express();

/* Routing. */
app.get('/', (req, res) => res.send('Welcome to Wishtack!'));

/* Run server and listen on port 3000. */
const server = app.listen(3000, () => {

    const host = server.address().address;
    const port = server.address().port;

    console.log(`App listening on http://${host}:${port}`);
    
});
```

Il suffit ensuite de lancer l'application :

```bash
node app.js
```


---

# 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://guide-node-js.wishtack.io/express/getting-started.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.
