diff --git a/backend/.template.env.json b/backend/.template.env.json new file mode 100644 index 0000000000000000000000000000000000000000..d1e8136f0d9ac7b2f7d9ac26d2b414073f499808 --- /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