diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-06-09 20:36:37 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-06-09 20:36:37 +0100 |
| commit | 2bd65b2913cf1afe9cbf9ce3e2d6a79cc3b0cd3d (patch) | |
| tree | 60cd475e04e061cc98f43a089f497b71ec0aa741 /src/config.js | |
| parent | 97ef9f33a62af16d3b6082a23b88d2b89ee0b2c2 (diff) | |
Diffstat (limited to 'src/config.js')
| -rw-r--r-- | src/config.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js new file mode 100644 index 0000000..859bb16 --- /dev/null +++ b/src/config.js @@ -0,0 +1,34 @@ +/** + * @type {string} + * The route where the server will listen for incoming text messages from Twilio. + * @example + * export const route = '/sms'; + */ +const route = '/sms'; + +/** + * @type {number} + * The port on which the server will listen for incoming text messages from Twilio. + * @example + * export const port = 3000; + */ +const port = 3000; + +/** + * @type {string} + * The name of the app as it will be displayed to users. You don't need to + * include the words 'texting group' or similar, as these are part of the + * message template already. A short description of the event or group of + * people works best. + * @example + * export const appName = "Joe Bloggs' hillwalking gang"; + * @example + * export const appName = 'Glen Coe meet'; + */ +const appName = 'Glen Coe meet'; + +module.exports = { + route, + port, + appName, +}; |
