Skip to content

Instantly share code, notes, and snippets.

@nikolasburk
Created January 8, 2019 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikolasburk/b32428116738e7c180933473e1a54d80 to your computer and use it in GitHub Desktop.
Save nikolasburk/b32428116738e7c180933473e1a54d80 to your computer and use it in GitHub Desktop.

Get Your Own Prisma Client Explorer

To get your own Prisma client explorer on CodeSandbox that allows for database writes, you need to perform the following steps:

1. Fork the CodeSandbox

2. Open new Terminal tab

3. Deploy datamodel & generate Prisma client

In the terminal, run:

yarn prisma deploy

Then, follow these steps in the interactive CLI wizard:

  1. Select Demo server
  2. Authenticate with Prisma Cloud in your browser (if necessary)
  3. Back in your terminal, confirm all suggested values

4. Explore the Prisma client API

Run the following command to start exploring:

yarn start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment