# Provide an admin REST API for use by zed.dev \(\#2962\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/877d67b97dde147a1c9ace2c6bae97cb6b5c494b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 877d67b97dde147a1c9ace2c6bae97cb6b5c494b

Requested commit: 877d67b97dde147a1c9ace2c6bae97cb6b5c494b

Commit: 877d67b97dde147a1c9ace2c6bae97cb6b5c494b

Tree: 7f5f81ab1023ce34955f0cb49dd44212b571c0a1

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Provide an admin REST API for use by zed.dev (#2962)

We're using [PostgREST](https://hub.docker.com/r/postgrest/postgrest)

Todo:
* [x] Add instructions for installing postgrest to local development
docs
* [x] Deploy to staging
* [x] Deploy to production
* [x] Add DNS record for `admin-staging.zed.dev` pointing to the staging
db
* [x] Add a DNS record for `admin.zed.dev` pointing to the production db
```

## Parents

- [9b901df256d43463cbb34fccf734705aeb74d72a](https://git.cafe/gitcafe/zed/commit/9b901df256d43463cbb34fccf734705aeb74d72a?format=markdown)

- [18c899a0a84ee33591ea1aec827e5ce5a7960aff](https://git.cafe/gitcafe/zed/commit/18c899a0a84ee33591ea1aec827e5ce5a7960aff?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/877d67b97dde147a1c9ace2c6bae97cb6b5c494b?format=markdown)
