summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-03-16 15:50:10 +0100
committerJules Laplace <jules@okfoc.us>2017-03-16 15:50:10 +0100
commit8e05164678d302700c794feecd50d83357f7719d (patch)
treeed5b167c75a2c4fdb5dcd8c409094b607698a0d5 /config
parentb8bfbbe14bdb72e4feccb4652c48f4cdb2a5e199 (diff)
feathers stuff
Diffstat (limited to 'config')
-rw-r--r--config/default.json13
-rw-r--r--config/production.json13
2 files changed, 26 insertions, 0 deletions
diff --git a/config/default.json b/config/default.json
new file mode 100644
index 0000000..73eac90
--- /dev/null
+++ b/config/default.json
@@ -0,0 +1,13 @@
+{
+ "host": "localhost",
+ "port": 3030,
+ "mysql": "mysql://featherstest:password@localhost:3306/feathersTest",
+ "public": "../public/",
+ "auth": {
+ "idField": "id",
+ "token": {
+ "secret": "bS83fhImJ5QH0swwuS2o4bT8SPAzwxNZMzUYvPT6szyI+y5xRT6MPcv+iU0dIdMS+oLDfX3dm47HfXwgHsCguQ=="
+ },
+ "local": {}
+ }
+}
diff --git a/config/production.json b/config/production.json
new file mode 100644
index 0000000..b3bfa5a
--- /dev/null
+++ b/config/production.json
@@ -0,0 +1,13 @@
+{
+ "host": "feathers-test-app.feathersjs.com",
+ "port": 80,
+ "mysql": "DATABASE_URL",
+ "public": "../public/",
+ "auth": {
+ "idField": "id",
+ "token": {
+ "secret": "FEATHERS_AUTH_SECRET"
+ },
+ "local": {}
+ }
+}