brendacs / devils-advocate-api

RESTful API integrations for Devil's Advocate created using JavaScript (ES6), Node, and Express

Home Page:https://github.com/brendacs/devils-advocate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Devil's Advocate Survey API Integrations

A workaround for TypeForm's one score variable, specific to Devil's Advocate.

This project used TypeForm's Response API, the Google Sheets API, and MailChimp's API v3.0 to calculate 7 different scores stored in different 7 score variables based on each user's survey responses. From these calculated scores, users that signed up are subscribed one master mailing list and placed in 7 different groups (interests) out of the 16 total possible groups (interests).

Every 15 minutes, all new TypeForm survey data (retrieved through Google Sheets) are scored and subscribers are added to the master Devil's Advocate MailChimp list with their respective groups.

Integrations were done using JavaScript (ES6), Node, and Express.

Getting Started

  1. Use git clone to download this repo.
  2. Type npm install to install dependencies.
  3. Run npm run build to compile files with Babel.
  4. Use npm start to start the program.

About

RESTful API integrations for Devil's Advocate created using JavaScript (ES6), Node, and Express

https://github.com/brendacs/devils-advocate


Languages

Language:JavaScript 100.0%