stevenbuehner/churchtoolsproxyserver

1.0 2018-09-14 12:37 UTC

This package is auto-updated.

Last update: 2024-11-13 02:27:08 UTC


README

Simple proxy server for ChurchTools (church.tools) to forward API requests and avoiding CORS problems.

Setup

Steps to initialize the project:

  1. Either import via composer: composer require stevenbuehner/churchtoolsproxyserver or copy the github project and run composer dump-autoload
  2. Copy proxy.php and configure it with your credentials

For testing use cases you can run your server via: php -S localhost:8080

Usage

Send a POST-request from any allowed Host (see setup of proxy.php) to your proxy.php.

Required POST Parameters are:

Example-Client

An example VueJs App using this proxy can be found at: https://github.com/stevenbuehner/ChurchToolsVuejsClientExample