summaryrefslogtreecommitdiffstats
path: root/server/config
diff options
context:
space:
mode:
authorJannik Schönartz2018-07-02 21:52:25 +0200
committerJannik Schönartz2018-07-02 21:52:25 +0200
commitaa4e552a03657a63922f5cd085431257c183f458 (patch)
treefc8cd63129bb54b06326c11847a9731fe70f1b33 /server/config
downloadbas-aa4e552a03657a63922f5cd085431257c183f458.tar.gz
bas-aa4e552a03657a63922f5cd085431257c183f458.tar.xz
bas-aa4e552a03657a63922f5cd085431257c183f458.zip
[server] Initial commit to add the node server stuff.
Diffstat (limited to 'server/config')
-rw-r--r--server/config/authentication.template.json3
-rw-r--r--server/config/database.template.json6
-rw-r--r--server/config/database1.template.json7
3 files changed, 16 insertions, 0 deletions
diff --git a/server/config/authentication.template.json b/server/config/authentication.template.json
new file mode 100644
index 0000000..17f5c11
--- /dev/null
+++ b/server/config/authentication.template.json
@@ -0,0 +1,3 @@
+{
+ "secret": "<SECRET>"
+}
diff --git a/server/config/database.template.json b/server/config/database.template.json
new file mode 100644
index 0000000..a9e7f8c
--- /dev/null
+++ b/server/config/database.template.json
@@ -0,0 +1,6 @@
+{
+ "host": "<DB_HOSTNAME>",
+ "user": "<DB_USERNAME>",
+ "password": "<DB_PASSWORD>",
+ "database": "<DB_NAME>"
+} \ No newline at end of file
diff --git a/server/config/database1.template.json b/server/config/database1.template.json
new file mode 100644
index 0000000..857fcc6
--- /dev/null
+++ b/server/config/database1.template.json
@@ -0,0 +1,7 @@
+{
+ "host": "<DB_HOSTNAME>",
+ "username": "<DB_USERNAME>",
+ "password": "<DB_PASSWORD>",
+ "database": "<DB_NAME>",
+ "dialect": "<mysql|mariadb|sqlite|postgres|mssql>"
+} \ No newline at end of file