Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Prisma session storage outside of Remix app template

midl4nd
Shopify Partner
4 0 1

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?

Reply 1 (1)

mohit12
Shopify Partner
8 0 0

Any Solution  ???