# Building Eventcatalog

Copy as Markdown[View as Markdown](/docs/development/deployment/build-ssr-mode.md)

***

You can also use EventCatalog in SSR mode, which means you can use EventCatalog as a server-side rendered application.

This can be useful for large catalogs, or for users with slow deployment times.

Certain features like **Authentication** and **EventCatalog Chat** require SSR mode.

### How it works[​](#how-it-works "Direct link to How it works")

Rather than building the entire catalog into HTML files, EventCatalog will render the pages on the fly (using server-side rendering).

This means you can use EventCatalog as a server-side rendered application.

## Building your EventCatalog (SSR)[​](#building-your-eventcatalog-ssr "Direct link to Building your EventCatalog (SSR)")

First you need to update your `eventcatalog.config.js` file to use SSR mode.

eventcatalog.config.js

```
export default {
  // defaults to static
  output: 'server', 
}
```

Next you need to build your EventCatalog

```
npm run build
```

This will output one directory

* `dist` - Your EventCatalog as a SSR application

## Deployment[​](#deployment "Direct link to Deployment")

You will need to deploy your EventCatalog to a server that can run Node.js.

The easiest way to do this is to use [a docker container](/docs/development/deployment/hosting-options.md#hosting-static-website-with-docker).
