diff options
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); }, |
