So if I want to add an image to Graphcool/prisma/y...
# prisma-whats-new
s
So if I want to add an image to Graphcool/prisma/yoga I have to define the field as a string BASE64?
h
You can use exteral service like aws for example
w
I’d recommend Cloudinary if you aren’t doing a ton of traffic
s
It's to add 10 100px images
w
what do you mean add?
s
Add to the database so the can be used in a client
Then maybe add function to post from client to database
I'm still trying to work out if it's garphcool and prisma
Or if prisma replaces graphcool
I know it's a layer on top of your database
But I want to use graphcool is that part of prisma?
w
Yeah - it’s kind of confusing. I’ve dropped GraphCool and just started to use Prisma
GraphCool does all the auth and API for you, you connect directly to it from your front end
Prisma allows you to write your own layer infront of the “graphcool” database so that you can add your own logic, auth, and whatever you like
and that is what many use Yoga for
s
🙃
Thanks for cloudinary 👍 should have given me your affiliate link @wesbos
w
haha I worked out a deal with them for free bandwidth if I link to them on cssgrid.io
because cssgrid.io got NAILED on launch day and it was about to get pretty expensive
their lowest plan is $99
s
There's 10gb on the first tier, that'll do me for a while
w
yah that should cover most plans