summaryrefslogtreecommitdiffstats
path: root/backend/src/db.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-06-14 16:44:21 -0400
committerWes Bos <wesbos@gmail.com>2018-06-14 16:44:21 -0400
commitb1600adec47a04f60e1da07d94a3ed3906ff5aee (patch)
tree828f786da6806d7237ee5cbc5df61e552353b85b /backend/src/db.js
parenta95e08cd2dd5d7ec0a0412adae02515a5f9cec4f (diff)
starter files
Diffstat (limited to 'backend/src/db.js')
-rw-r--r--backend/src/db.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/backend/src/db.js b/backend/src/db.js
deleted file mode 100644
index e8caa14..0000000
--- a/backend/src/db.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const { Prisma } = require('prisma-binding');
-
-const db = new Prisma({
- typeDefs: 'src/generated/prisma.graphql',
- endpoint: process.env.PRISMA_ENDPOINT, // the endpoint of the Prisma DB service (value is set in variables.env)
- secret: process.env.PRISMA_SECRET, // taken from prisma/prisma.yml (value is set in .env)
- debug: false, // log all GraphQL queries & mutations
-});
-
-module.exports = db; \ No newline at end of file