summaryrefslogtreecommitdiffstats
path: root/backend/README.md
blob: 56c5b9c04c19372df83406aaecd4d974998fdde8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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`



### Cloudinary

1. go to your settings and turn on unsigned uploading
2.