wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.53k stars 1.18k forks source link

Add docs on how to connect to production database (e.g. with Prisma studio) #1927

Open Martinsos opened 6 months ago

Martinsos commented 6 months ago

We should do this for general case, and then for Fly specifically.

We had multiple users asking about this lately, specifically for Prisma studio, or for seed scripts.

This is heavily related to https://github.com/wasp-lang/wasp/issues/1464, we will probably want to solve these two together.

Additionally, we should consider going a step further and possibly having a way to do some db prod stuff directly via wasp CLI, for Fly. It could be just getting info on it, or connecting to it, or running prisma studio on it. This should probably be a separate issue though.

infomiho commented 2 months ago

We have written something here: https://github.com/wasp-lang/learning-materials/?tab=readme-ov-file#running-wasp-db-studio-on-production-db