diff options
Diffstat (limited to 'backend/README.md')
| -rw-r--r-- | backend/README.md | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/backend/README.md b/backend/README.md index 7687fd4..e1c8e10 100644 --- a/backend/README.md +++ b/backend/README.md @@ -2,4 +2,20 @@ What are all these files?! What are the steps: -1. + +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 + + |
