summaryrefslogtreecommitdiffstats
path: root/backend/README.md
blob: e1c8e10411f6c2a4298b2febb4a221ecb858df36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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