From 3e5970606755935f90d064712cb291b67dedadc9 Mon Sep 17 00:00:00 2001
From: Damien <damien.armillon@gmail.com>
Date: Sat, 11 May 2019 00:04:09 +0200
Subject: [PATCH] Template env is here !

---
 backend/.template.env.json | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 backend/.template.env.json

diff --git a/backend/.template.env.json b/backend/.template.env.json
new file mode 100644
index 0000000..d1e8136
--- /dev/null
+++ b/backend/.template.env.json
@@ -0,0 +1,31 @@
+{   
+    "frontURL": "http://localhost:3000",
+    "backURL": "http://localhost:8000",
+    "tokenSecret": "token_secret",
+    "sessionSecret": "my session secret",
+    "admin": ["2018armillond"],
+
+    "savedExtensions":[
+        
+        {
+            "type": "image",
+            "path": "/home/damien/Bureau/imgToucan",
+            "knownMime" : ["image/png","image/jpeg"],
+            "extensions" : [".png",".jpeg"]
+        },
+        {
+            "type": "pdf",
+            "path": "/home/damien/Bureau/pdfToucan",
+            "knownMime" : ["application/pdf"],
+            "extensions" : ["pdf"]
+        }
+    ],
+
+    "oauth" : {
+        "authorizationURI" : "https://auth.viarezo.fr/oauth/authorize",
+        "clientId": "Client ID",
+        "clientSecret": "Client Secret",
+        "accesTokenURI": "https://auth.viarezo.fr/oauth/token",
+        "getUser": "https://auth.viarezo.fr/api/user/show/me"
+    }
+}
\ No newline at end of file
-- 
GitLab