# PostgREST [![Donate](https://img.shields.io/badge/Donate-Patreon-orange.svg?colorB=F96854)](https://www.patreon.com/postgrest) [![Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://postgrest.org) [![Build Status](https://github.com/postgrest/postgrest/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/PostgREST/postgrest/actions?query=branch%3Amain) PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch. ## Sponsors
# Usage To learn how to use this container, see the [PostgREST Docker documentation](https://postgrest.org/en/stable/install.html#docker). You can configure the PostgREST image by setting [environment variables](https://postgrest.org/en/stable/configuration.html). # How this image is built The image is built from scratch using [Nix](https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools) instead of a `Dockerfile`, which yields a highly secure and optimized image. This is also why no commands are listed in the image history. See the [PostgREST respository](https://github.com/PostgREST/postgrest/tree/main/nix/tools/docker) for details on the build process and how to inspect the image. This does not apply to the arm64 variant, which is based on Ubuntu.