---
title: "Master Google Apps Script UIs — Part 6: Acing Client-to-Server Chatter with Promises 🤝"
author: "Dmitry Kostyuk"
date: 2023-05-31T22:34:50+00:00
canonical_url: https://pulse.appsscript.info/p/2023/05/master-google-apps-script-uis-part-6-acing-client-to-server-chatter-with-promises-%f0%9f%a4%9d/
markdown_url: https://pulse.appsscript.info/p/2023/05/master-google-apps-script-uis-part-6-acing-client-to-server-chatter-with-promises-%f0%9f%a4%9d.md
categories:
  - "Advanced"
  - "Solutions"
  - "V8"
tags:
  - "@wildhogsm"
  - "blog.wurkspaces.dev"
  - "dmitry-kostyuk"
  - "Medium"
featured_image: https://pulse.appsscript.info/files/2023/05/1_bipdjqiAHIe2uGz9_51Zxg.jpeg
description: "Dmitry Kostyuk is continuing the masterclass in breaking free from the online Apps Script Editor / IDE putting the spotlight on setting up your project so you can locally test client side communications you get from google.script.run. To achieve this Dmitry highlights a handy polyfill that let you setup mock data for testing locally."
---

# Master Google Apps Script UIs — Part 6: Acing Client-to-Server Chatter with Promises 🤝

![Master Google Apps Script UIs — Part 6: Acing Client-to-Server Chatter with Promises 🤝](https://pulse.appsscript.info/files/2023/05/1_bipdjqiAHIe2uGz9_51Zxg.jpeg)

> ## Welcome Back to Mastering Google Apps Script UIs: Client-to-Server Communication Spotlight
> 
> 
> Oh, howdy folks! Just like a boomerang, you’ve found your way back to our marvelous series. If you thought the previous episodes were fire, wait till you see what’s cooking today! 🔥
> We’re diving headfirst into the world of client-to-server communication. It’s like passing notes in class, but with a lot less paper and a lot more code. 📝➡️💻
> Here’s the catch though — we can’t install Google Apps Script locally to run things on our dev server. Yep, that’s right. It’s like trying to install a toaster in a bathtub; it just ain’t happening. 🛁🚫🍞
> But fear not, dear coder, for I’ve got a trick or two up my sleeve. We’re gonna finesse our way around this with some snazzy hacks like promises, polyfills, and mocks. Oh my!

*Source: *[*Master Google Apps Script UIs — Part 6: Acing Client-to-Server Chatter with Promises 🤝***](https://blog.wurkspaces.dev/master-google-apps-script-uis-part-5-acing-client-to-server-chatter-with-promises-bebaf42953e?sk=a30e0bd715b42f002664cc9ab72c5720)

---

*Published by [Dmitry Kostyuk](https://pulse.appsscript.info/p/author/dmitrykostyuk/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2023/05/master-google-apps-script-uis-part-6-acing-client-to-server-chatter-with-promises-%f0%9f%a4%9d/](https://pulse.appsscript.info/p/2023/05/master-google-apps-script-uis-part-6-acing-client-to-server-chatter-with-promises-%f0%9f%a4%9d/)*
