# Web

Valtimo uses a client-side architecture where a Javascript component runs in the browser of a user (client). To fetch data and push changes this component communicates with a server-side component. The Valtimo Web module offers functionality to facilitate the communication between the client- and server-side component.

## Dependencies

In order to use web, the core module needs to be added as a dependency. For instructions on how to add the core module as a dependency, see the [core module documentation](/fundamentals/getting-started/modules/core/core.md).

## Configuration

In order to run the web module, several properties can be configured. The bare minimum that has to be added to the application properties is the following:

#### **`application.yml`**

```yaml
valtimo:
  swagger:
    enabled: false
```

Information on how to configure Cross Origin Resource Sharing (CORS) in Valtimo can be found in the [Valtimo CORS configuration documentation](/fundamentals/getting-started/modules/core/web/valtimo-cors.md).


---

# 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://docs.valtimo.nl/fundamentals/getting-started/modules/core/web.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.
