packages/decap-server/README.md
Decap CMS Proxy Server is an express server created to facilitate local development.
npx decap-server from the root directory of the above repository.config.yml to connect to the server:backend:
name: proxy
proxy_url: http://localhost:8081/api/v1
branch: master # optional, defaults to master
gatsby develop)..env file in the root directory of your local Git repository.# optional, defaults to current directory
GIT_REPO_DIRECTORY=FULL_PATH_TO_LOCAL_GIT_REPO
# optional, defaults to 8081
PORT=CUSTOM_PORT
# optional, only listen for incoming connections on a specific IP address
BIND_HOST=127.0.0.1
# optional, restrict API requests to a specific origin
ORIGIN=https://example.com