summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-11 12:31:49 -0400
committerWes Bos <wesbos@gmail.com>2018-05-11 12:31:49 -0400
commitd3838ccb799cd8c286efcea90d776e8b6936d484 (patch)
tree4430ea2ada80b1fefb057adfce91867484be7475 /backend
parent8ccb0d93cdc064776454c929e15aa03129be37a3 (diff)
move apollo to _app
Diffstat (limited to 'backend')
-rw-r--r--backend/database/prisma.yml12
-rw-r--r--backend/package.json2
2 files changed, 3 insertions, 11 deletions
diff --git a/backend/database/prisma.yml b/backend/database/prisma.yml
index 6091cb5..8a11c08 100644
--- a/backend/database/prisma.yml
+++ b/backend/database/prisma.yml
@@ -1,11 +1,3 @@
-service: sick-fits
-stage: ${env:PRISMA_STAGE}
-cluster: wesbos/prisma-us1
-
-disableAuth: true
-secret: ${env:PRISMA_SECRET}
-
-# the file path pointing to your data model
+endpoint: ${PRISMA_ENDPOINT}
datamodel: datamodel.graphql
-
-
+secret: ${env:PRISMA_SECRET}
diff --git a/backend/package.json b/backend/package.json
index aed9cf2..1ca4ff9 100644
--- a/backend/package.json
+++ b/backend/package.json
@@ -4,7 +4,7 @@
"start": "nodemon -e js,graphql -x node src/index.js",
"dev": "nodemon -e js,graphql -x node --inspect src/index.js",
"test": "jest",
- "deploy": "prisma deploy"
+ "deploy": "prisma deploy --env-file variables.env"
},
"dependencies": {
"bcryptjs": "2.4.3",