You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/recipes/prisma.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
### Prisma
1
+
### Prisma 1
2
2
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.
4
4
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.
6
6
7
7
#### Dependencies
8
8
@@ -12,15 +12,15 @@ Firstly, we need to install the required packages:
12
12
$ npm install --save prisma-binding
13
13
```
14
14
15
-
#### Setup Prisma
15
+
#### Setup Prisma 1
16
16
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.
18
18
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`
22
22
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:
0 commit comments