Planning Center Online reporting tool.
- git clone
- npm i
Environment variables. Create an .env file in development environment.
OAUTH_CALLBACK_URLOAUTH_CONSUMER_KEYOAUTH_CONSUMER_SECRETPAT_APP_ID- Person Access Token App IdPAT_SECRET- Person Access Token SecretNODE_ENV–development/productionMAILGUN_API_KEYMAILGUN_DOMAINEXPORT_FILE– Make email.js export a file instead
Send emails based on the contents of emails database table.
- Development:
npm run dev:email - Production:
npm run email
Query parameters:
- {Date} date E.g.
date=2016-07-31 - {int[]} serviceType E.g.
serviceType=564544&serviceType=564546 - {string[]} categoryName E.g.
categoryName=TV%2FMedia - {string[]} excludePosition E.g.
excludePosition=camera - {string[]} categoryPosition
List of additional categories/position combinations to include.
E.g.
categoryPosition=Worship%20Vocals|Lyrics