diff options
| author | Luis Alvarez <luisito453@gmail.com> | 2018-05-15 17:31:17 -0500 |
|---|---|---|
| committer | Luis Alvarez <luisito453@gmail.com> | 2018-05-15 17:31:17 -0500 |
| commit | 51cc382a14ad3f368873239b1b642a3cec0470c1 (patch) | |
| tree | d5d3f12d7c4dc2adce73c399edb08961d99e1d8e /backend | |
| parent | 235969d8b25a6b9b4eaaaa2a54d088d2bb0e6def (diff) | |
| parent | 3b42102026a00a290bfff5a4c9bd3eb8452ef97d (diff) | |
Merged with master
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/README.md | 33 | ||||
| -rw-r--r-- | backend/src/resolvers/Query.js | 1 |
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); }, |
