summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-15 16:03:58 -0400
committerWes Bos <wesbos@gmail.com>2018-05-15 16:03:58 -0400
commit3b42102026a00a290bfff5a4c9bd3eb8452ef97d (patch)
treeae73997e78c546b0f02795e99f0312e0db265697 /backend
parenta2f7c511badb6da1f1b7812ea4636ee82a9feb3d (diff)
what
Diffstat (limited to 'backend')
-rw-r--r--backend/README.md33
-rw-r--r--backend/src/resolvers/Query.js1
2 files changed, 4 insertions, 30 deletions
diff --git a/backend/README.md b/backend/README.md
index 56c5b9c..cce3c38 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -1,32 +1,7 @@
-What are all these files?!
-
-What are the steps:
-
-
-When you want to add a new function:
-
-1. Open your `schema.graphql` and add it to the mutatiions
-2. Add a mutation resolver to match that new mutation:
-
- ```
- addToCart(parent, args, ctx, info) {
- console.log('ADding an item to cart!');
- },
- ```
-3. Create a client-side Mutation that will accept the arguments and call it
-
-
-### Installing Docker
-
-1. download docker
-1. run `prisma local start`
-1. Run `prisma deploy`
-
-if in trouble, run `prisma local nuke`
-
-
-
+what
+<!--
### Cloudinary
1. go to your settings and turn on unsigned uploading
-2.
+2. -->
+
diff --git a/backend/src/resolvers/Query.js b/backend/src/resolvers/Query.js
index 0cec090..276f7fa 100644
--- a/backend/src/resolvers/Query.js
+++ b/backend/src/resolvers/Query.js
@@ -4,7 +4,6 @@ const { forwardTo } = require('prisma-binding');
const Query = {
items(parent, args, ctx, info) {
- console.log(args);
return ctx.db.query.items({ ...args }, info);
},