summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-06-09 20:36:37 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-06-09 20:36:37 +0100
commit2bd65b2913cf1afe9cbf9ce3e2d6a79cc3b0cd3d (patch)
tree60cd475e04e061cc98f43a089f497b71ec0aa741 /src
parent97ef9f33a62af16d3b6082a23b88d2b89ee0b2c2 (diff)
I don't have a clue what I'm committing lolHEADmain
Diffstat (limited to 'src')
-rw-r--r--src/config.js34
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,
+};