File Structure - Burapharux/key-job GitHub Wiki
The project structure is as follows:
key-job
└── key-job
├── src
│ ├── appsscript.json
│ ├── Code.js
│ ├── config.js
│ ├── Notifier.js
│ ├── Strategy.js
│ └── Subscriber.js
├── .clasp.json
├── package.json
└── README.MD
Root Directory
- key-job/
- Main project folder.
Contents
src/
Contains all source code and configuration files for the Google Apps Script project. Further details can be found on the separate wiki page.
-
appsscript.json
Project manifest file for Google Apps Script. Defines script settings and enabled services. -
Code.js
Main entry point for the script. Contains core logic and function calls. -
config.js
Stores configuration variables and constants used throughout the project. -
Notifier.js
Handles notification logic (e.g., sending emails or alerts). Acts as an observable class in the Observer pattern. -
Strategy.js
Contains strategy pattern implementations or business logic modules. Acts as a strategy in the Strategy pattern. -
Subscriber.js
Manages subscriber-related functionality (e.g., adding, removing, or updating subscribers). Acts as a subscriber class in the Observer pattern.
.clasp.json
Configuration file for clasp, a command-line tool for developing Apps Script projects locally. (Create this file from the provided example.clasp.json file.)
package.json
Defines project metadata and dependencies (if any). Useful for managing scripts and development tools.
README.MD
Project overview, setup instructions, and usage documentation.