This is an example Node.js client to demonstrate how to use gas-boilerplate as an API executable and consume the API with Node.js app.
- yarn
- node.js
- git
- Existing Google Apps Script project bootstrapped with gas-boilerplate and deployed as executable API
git clone https://github.com/vaaralav/gas-boilerplate-client.git
cd gas-boilerplate-client
yarn
cp .env.example .env
yarn auth
Follow the instructions and add tokens to .env.
This command calls and executes the function foo
in the Google Apps Script defined in .env with.
yarn start