Skip to content

Commit 1cbb42a

Browse files
Merge pull request #1314 from Jolg42/patch-1
Update name of Prisma example to Prisma 1
2 parents 35ab512 + 91c34d9 commit 1cbb42a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

content/recipes/prisma.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
### Prisma
1+
### Prisma 1
22

3-
[Prisma](https://www.prisma.io/) turns your database into a GraphQL API and enables the use of GraphQL as a universal query language for all databases. Instead of writing SQL or using a NoSQL API, you can query your database with GraphQL. In this chapter we won't go into details about Prisma, so head over to their website and have a look what features are available.
3+
[Prisma 1](https://v1.prisma.io/docs/1.34) turns your database into a GraphQL API and enables the use of GraphQL as a universal query language for all databases. Instead of writing SQL or using a NoSQL API, you can query your database with GraphQL. In this chapter we won't go into details about Prisma so head over to their website and have a look what features are available.
44

5-
> warning **Notice** In this article, you'll learn how to integrate `Prisma` into the Nest framework. We assume that you are already familiar with the GraphQL concepts and the `@nestjs/graphql` module.
5+
> warning **Notice** In this article, you'll learn how to integrate `Prisma 1` into the Nest framework. We assume that you are already familiar with the GraphQL concepts and the `@nestjs/graphql` module.
66
77
#### Dependencies
88

@@ -12,15 +12,15 @@ Firstly, we need to install the required packages:
1212
$ npm install --save prisma-binding
1313
```
1414

15-
#### Setup Prisma
15+
#### Setup Prisma 1
1616

17-
While working with Prisma you can either host your own instance or use the [Prisma Cloud](https://www.prisma.io/cloud/). In this introduction we are going to use the demo server provided by Prisma.
17+
While working with Prisma 1 you can either host your own instance or use the [Prisma Cloud](https://www.prisma.io/cloud/). In this introduction we are going to use the demo server provided by Prisma.
1818

19-
1. Install the Prisma CLI `npm install -g prisma`
20-
2. Create a new service `prisma init`, choose the demo server and follow the instructions
21-
3. Deploy your service `prisma deploy`
19+
1. Install the Prisma CLI `npm install -g prisma1`
20+
2. Create a new service `prisma1 init`, choose the demo server and follow the instructions
21+
3. Deploy your service `prisma1 deploy`
2222

23-
If you find yourself in trouble jump over to their [Quick Start](https://www.prisma.io/docs/quickstart/) section for further details. Eventually you should see two new files in your project directory, `prisma.yaml` configuration file:
23+
If you find yourself in trouble jump over to their [Quick Start](https://v1.prisma.io/docs/1.34/get-started/01-setting-up-prisma-new-database-JAVASCRIPT-a002/) section for further details. Eventually you should see two new files in your project directory, `prisma.yaml` configuration file:
2424

2525
```yaml
2626
endpoint: https://us1.prisma.sh/nest-f6ec12/prisma/dev

0 commit comments

Comments
 (0)