From 3b42102026a00a290bfff5a4c9bd3eb8452ef97d Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Tue, 15 May 2018 16:03:58 -0400 Subject: what --- backend/README.md | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) (limited to 'backend/README.md') 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 + + -- cgit v1.3