# Preview

Preview the built app — production output, served locally.

### Syntax

```
$ vela preview
```

Run [`vela build`](/build) first. As with build and [dev](/dev), if the project has a backend the database is started alongside the preview server and stopped again on exit, so the built app has something to talk to. If `POCKETBASE_URL` is already set, that database is used instead.

This is the last check before [deploying](/deploy): it runs the real build output rather than the dev server, so prerendering, adapter behaviour and anything that only differs in production shows up here.