Skip to content

Commit

Permalink
Content/init (#29)
Browse files Browse the repository at this point in the history
- add line separators between next step in getting started
- remove unfinished setup guide with Prisma migrate for now
  • Loading branch information
nikolasburk authored Mar 25, 2020
1 parent a28b5e6 commit af1a689
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 123 deletions.
10 changes: 10 additions & 0 deletions content/01-getting-started/02-quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,18 @@ const deletedUser = await prisma.user.delete({

</details>


---

### Setup Prisma with your own database

To learn how to connect Prisma to your own database, you can follow the respective setup guide:

- [Add Prisma to an existing project]()
- [Setup Prisma from scratch with your own database]()

---

### Explore the data in Prisma Studio (experimental)

Prisma Studio is a visual editor for the data in your database. You can use it by running the following command:
Expand All @@ -352,6 +357,8 @@ Prisma Studio is a visual editor for the data in your database. You can use it b
npx prisma studio --experimental
```

---

### Change the database schema (e.g. add more tables)

Changing your database schema using SQL typically happens with the following steps.
Expand Down Expand Up @@ -428,6 +435,9 @@ Now you can run the migration against the database `npx prisma migrate up --exp

You can now run queries against the new `Profile` table, e.g. using `prisma.profile.findMany()`.

---


### Try a Prisma example

The [`prisma-examples`]() repository contains a number of ready-to-run examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ const deletedUser = await prisma.user.delete({
</details>
---
### Explore the data in Prisma Studio (experimental)
Prisma Studio is a visual editor for the data in your database. You can use it by running the following command:
Expand All @@ -472,11 +474,13 @@ To evolve the app, you need to follow the same flow of the tutorial:
![](https://imgur.com/7BUqpyv.png)
---
### Try a Prisma example
The [`prisma-examples`]() repository contains a number of ready-to-run examples:
#### TypeScript
**TypeScript**
| Demo | Stack | Description |
| :----------------------------------------------------------------------------------------------------------------- | :----------- | --------------------------------------------------------------------------------------------------- |
Expand All @@ -486,7 +490,7 @@ The [`prisma-examples`]() repository contains a number of ready-to-run examples:
| [`rest-express`](https://github.com/prisma/prisma-examples/tree/prisma2/typescript/rest-express) | Backend only | Simple REST API with Express.JS |
| [`grpc`](https://github.com/prisma/prisma-examples/tree/prisma2/typescript/grpc) | Backend only | Simple gRPC API |
#### JavaScript (Node.js)
**JavaScript (Node.js)**
| Demo | Stack | Description |
| :----------------------------------------------------------------------------------------------------------------- | :----------- | :-------------------------------------------------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ const deletedUser = await prisma.user.delete({
</details>
---
### Explore the data in Prisma Studio (experimental)
Prisma Studio is a visual editor for the data in your database. You can use it by running the following command:
Expand All @@ -529,6 +531,8 @@ Prisma Studio is a visual editor for the data in your database. You can use it b
npx prisma studio --experimental
```
---
### Change the database schema (e.g. add more tables)
To evolve the app, you need to follow the same flow of the tutorial:
Expand All @@ -539,11 +543,13 @@ To evolve the app, you need to follow the same flow of the tutorial:
![](https://imgur.com/7BUqpyv.png)
---
### Try a Prisma example
The [`prisma-examples`]() repository contains a number of ready-to-run examples:
#### TypeScript
**TypeScript**
| Demo | Stack | Description |
| :----------------------------------------------------------------------------------------------------------------- | :----------- | --------------------------------------------------------------------------------------------------- |
Expand All @@ -553,7 +559,7 @@ The [`prisma-examples`]() repository contains a number of ready-to-run examples:
| [`rest-express`](https://github.com/prisma/prisma-examples/tree/prisma2/typescript/rest-express) | Backend only | Simple REST API with Express.JS |
| [`grpc`](https://github.com/prisma/prisma-examples/tree/prisma2/typescript/grpc) | Backend only | Simple gRPC API |
#### JavaScript (Node.js)
**JavaScript (Node.js)**
| Demo | Stack | Description |
| :----------------------------------------------------------------------------------------------------------------- | :----------- | :-------------------------------------------------------------------------------------------------- |
Expand Down

This file was deleted.

0 comments on commit af1a689

Please # to comment.