More Premium Hugo Themes Premium Vue Themes

Gas Vue Boilerplate

Gas Vue Boilerplate

Author Avatar Theme by fossamagna
Github Stars Github Stars: 17
Last Commit Last Commit: Jul 28, 2020 -
First Commit Created: Jun 19, 2023 -
Gas Vue Boilerplate screenshot

Overview:

The gas-vue-boilerplate is a boilerplate for developing web apps with Google Apps Script. It allows for local development using modern development tools such as TypeScript, Webpack, Vue.js, Vuetify, gas-test, and CI/CD with GitHub Actions.

Features:

  • Local development with modern tools including TypeScript, Webpack, Vue.js, and Vuetify.
  • gas-test for testing Google Apps Script functions remotely.
  • CI/CD integration with GitHub Actions for pushing and running scripts on Apps Script.

Installation:

To use gas-vue-boilerplate, follow the steps below:

  1. Create a Google Apps Script project for tests.
  2. Navigate to the backend directory.
  3. Create a gas-test.json file.
    • Note: Add any scopes values used by your test script.
  4. Open your GCP project with a browser.
  5. Create an OAuth Client ID (Other) and download it as creds.json.
  6. Run the command yarn gas-test auth creds.json to authenticate with the downloaded credentials.
    • Save the generated file as gas-test-credentials.json.
    • Note: gas-test-credentials.json should be kept private.
  7. Enable Apps Script API.
  8. Enable any APIs used by the script.
  9. Make sure the following code is in your appsscript.json file and push it.
  10. Run the command yarn test to execute tests.

For more detailed information, refer to the usage guide of gas-test.

Summary:

The gas-vue-boilerplate is a powerful boilerplate for developing web apps with Google Apps Script. It provides a variety of features such as local development with modern tools, testing and CI/CD integration. By following the installation guide, developers can easily set up and start developing web apps with ease.