Re: Prisma session storage outside of Remix app template

Prisma session storage outside of Remix app template

midl4nd
Shopify Partner
4 0 4

I'm creating my first shopify app and trying to understand how to set up my sessions.

 

Say I have an existing external node express server connected to a Prisma DB. When I create a new app with the Remix template I see that it comes with a Prisma schema to store sessions and uses PrismaSessionStorage which takes the prisma instance as an argument. 

 

If I instead want to store the session on my own DB so I don't end up deploying to separate DBs what's the correct way to go about this?

Replies 2 (2)

mohit12
Shopify Partner
8 0 2

Any Solution  ???

yashsahu
Shopify Partner
2 0 2

Hi @midl4nd
Did you find any solutions for this issue ?