# Simple Codesandbox Example

This example shows how to use the Prisma client in a **Codesandbox container** to read and write data in a database.

## How to use

### 1. Create a new Codesandbox by importing a GitHub repository and point it to this folder.

```
https://github.com/prisma/photonjs/tree/feature/example-csb/examples/typescript/codesandbox
```

### 2. Codesandbox automatically runs the `start` script

### 3. To iterate quickly, open a new Terminal tab in Codesandbox and start Prisma in Dev mode

```
npx prisma2 dev
```

## Next steps

- [Use Prisma with an existing database](https://github.com/prisma/prisma2-docs/blob/master/introspection.md)
- [Explore the Photon API](https://github.com/prisma/prisma2-docs/blob/master/photon/api.md)

# Simple Codesandbox Example

This example shows how to use the Prisma client in a **Codesandbox container** to read and write data in a database.

## How to use

### 1. Create a new Codesandbox by importing a GitHub repository and point it to this folder.

```
https://github.com/prisma/photonjs/tree/master/examples/typescript/codesandbox
```

### 2. Codesandbox automatically runs the `start` script

### 3. To iterate quickly, open a new Terminal tab in Codesandbox and start Prisma in Dev mode

```
npx prisma2 dev
```

## Next steps

- [Use Prisma with an existing database](https://github.com/prisma/prisma2-docs/blob/master/introspection.md)
- [Explore the Photon API](https://github.com/prisma/prisma2-docs/blob/master/photon/api.md)

Change the repo link to point to master
Change the repo link to point to master


Former-commit-id: 9de233992dcd0755005fb633f4beb63995b9ef66
Former-commit-id: e89231fb4095101a4f0198210b9ddb812f5323f2