@@ -3,7 +3,6 @@ title: 'Get Started'
33metaTitle : ' Get started with Prisma'
44metaDescription : ' Build data-driven applications with ease using Prisma ORM, add connection pooling or global caching with Prisma Accelerate.'
55hide_title : true
6- tocDepth : 1
76sidebar_position : 0
87sidebar_class_name : firstTitle
98pagination_next : ' getting-started/quickstart-sqlite'
@@ -21,79 +20,52 @@ import {
2120 SignalStream ,
2221 PrismaPostgres ,
2322 SquareLogo ,
23+ QuickstartLinkCard
2424} from ' @site/src/components/GettingStarted' ;
2525
2626
27+ <BoxTitle >Getting started</BoxTitle >
2728
28- <BorderBox >
29-
30- <BoxTitle >Get started</BoxTitle >
29+ <List >
3130
32- Welcome 👋
31+ < BorderBox >
3332
34- Explore our products that make it easy to build and scale data-driven applications:
33+ [ ** Prisma ORM ** ] ( /orm/overview/introduction/what-is-prisma ) is an open-source ORM that provides fast, type-safe access to Postgres, MySQL, SQLite, and more databases, and runs smoothly across Node.js, Bun, and Deno.
3534
36- [ ** <Database />Prisma ORM** ] ( /orm/overview/introduction/what-is-prisma ) is a next-generation Node.js and TypeScript ORM that unlocks a new level of developer experience when working with databases thanks to its intuitive data model, automated migrations, type-safety & auto-completion.
35+ ``` terminal
36+ npx prisma init --db
37+ ```
38+ </BorderBox >
39+
3740
38- [ ** < PrismaPostgres />Prisma Postgres ** ] ( /postgres ) is a managed PostgreSQL service that gives you an _ always-on _ database with _ pay-as-you-go _ pricing.
41+ < BorderBox >
3942
40- [ ** < Inspect /> Prisma Optimize ** ] ( /optimize/ ) helps you analyze queries, generate insights , and provides recommendations to make your database queries faster .
43+ [ ** Prisma Postgres ** ] ( /postgres ) is our managed PostgreSQL service with automatic scaling, AI integrations , and a simple API and GUI for database management .
4144
42- [ ** <Bolt />Prisma Accelerate** ] ( /accelerate ) is a global database cache with scalable connection pooling to make your queries fast.
45+ ``` terminal
46+ npx create-db
47+ ```
48+ </BorderBox >
49+
50+ </List >
4351
44- </ BorderBox >
52+ <br / >
4553
54+ <QuickstartLinkCard
55+ title = " Quickstart →"
56+ highlight = " #16A394"
57+ link = " /getting-started/quickstart-prismaPostgres"
58+ >
4659
47- ## < Database color = " #5A67D8 " width = " 21 " height = " 24 " /> Prisma ORM
60+ The fastest way to set up ** Prisma ORM** with a ready-to-use ** Prisma Postgres ** database.
4861
49- Add Prisma ORM to your application in a few minutes to start modeling your data, run schema migrations and query your database.
62+ </ QuickstartLinkCard >
5063
51- ### The easiest way to get started with Prisma
64+ ## < PrismaPostgres color = " #16A394 " width = " 21 " height = " 24 " /> Already have your own database?
5265
53- _ Explore all Prisma products at once. _
66+ The fastest way to set Prisma ORM up with a ready-to-use database.
5467
55- <LinkCard
56- icon = " fa-solid fa-rabbit-running"
57- title = " Prisma Starter Template"
58- desc = " Create a new database, model your data, run migrations, and send queries in this comprehensive 5 minute tutorial."
59- link = " /getting-started/quickstart-prismaPostgres"
60- />
61-
62- ### Explore quickly with a SQLite database
63-
64- _ These options don't require you to have your own database running._
65-
66- <Grid >
67- <LinkCard
68- icon = " fa-solid fa-rabbit-running"
69- title = " Quickstart"
70- desc = " Set up Prisma ORM from scratch with a SQLite database in 5 minutes."
71- link = " /getting-started/quickstart-sqlite"
72- />
73- <LinkCard
74- icon = " fa-brands fa-github"
75- title = " Examples"
76- desc = " Explore our ready-to-run examples with your favorite frameworks and libraries."
77- link = " https://github.com/prisma/prisma-examples/"
78- />
79- </Grid >
80-
81- ### Choose an option to get started with your own database
82-
83- _ Select one of these options if you want to connect Prisma ORM to your own database._
84-
85- <TabbedContent >
86- <TabItem value = " New database" >
87- <p >
88- Set up Prisma ORM <b >from scratch</b > with your favorite database and
89- learn basic workflows like data modeling, querying, and migrations.
90- </p >
91- <List >
92- <SquareLogo
93- url = " /getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-prismaPostgres"
94- image = { ' /img/technologies/prismaPostgres.svg' }
95- tech = " Prisma Postgres"
96- />
68+ <List >
9769 <SquareLogo
9870 url = " /getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-postgresql"
9971 image = { ' /img/technologies/postgresqlsimple.svg' }
@@ -125,91 +97,5 @@ _Select one of these options if you want to connect Prisma ORM to your own datab
12597 image = { ' /img/technologies/mongodbsimple.svg' }
12698 tech = " Mongo DB"
12799 />
128- </List >
129- </TabItem >
130- <TabItem value = " Existing database" >
131- <p >
132- Get started with Prisma ORM and your <b >existing database</b > by
133- introspecting your database schema and learn how to query your database.
134- </p >
135- <List >
136- <SquareLogo
137- url = " /getting-started/setup-prisma/add-to-existing-project/relational-databases-typescript-postgresql"
138- image = { ' /img/technologies/postgresqlsimple.svg' }
139- tech = " Postgres SQL"
140- />
141- <SquareLogo
142- url = " /getting-started/setup-prisma/add-to-existing-project/relational-databases-typescript-mysql"
143- image = { ' /img/technologies/mysqlsimple.svg' }
144- tech = " MySQL"
145- />
146- <SquareLogo
147- url = " /getting-started/setup-prisma/add-to-existing-project/relational-databases-typescript-sqlserver"
148- image = { ' /img/technologies/sqlserver.svg' }
149- tech = " SQL Server"
150- />
151- <SquareLogo
152- url = " /getting-started/setup-prisma/add-to-existing-project/relational-databases-typescript-planetscale"
153- imageDark = { ' /img/technologies/planetscaledark.svg' }
154- image = { ' /img/technologies/planetscale.svg' }
155- tech = " PlanetScale"
156- />
157- <SquareLogo
158- url = " /getting-started/setup-prisma/add-to-existing-project/relational-databases-typescript-cockroachdb"
159- image = { ' /img/technologies/cockroachdbdark.svg' }
160- tech = " Cockroach DB"
161- />
162- <SquareLogo
163- url = " /getting-started/setup-prisma/add-to-existing-project/mongodb-typescript-mongodb"
164- image = { ' /img/technologies/mongodbsimple.svg' }
165- tech = " Mongo DB"
166- />
167- </List >
168- </TabItem >
169- </TabbedContent >
170-
171- ## <Bolt color = " #16A394" width = " 21" height = " 24" /> Prisma Accelerate
172-
173- Make your database queries faster by scaling your database connections and caching database results at the edge with Prisma Accelerate.
174-
175- <Grid >
176- <LinkCard
177- icon = " fa-solid fa-arrow-right"
178- title = " Get started"
179- desc = " Add Accelerate to your app to use global database caching & connection pooling."
180- link = " /accelerate/getting-started"
181- />
182- <LinkCard
183- icon = " fa-brands fa-github"
184- title = " Examples"
185- desc = " Explore our ready-to-run examples using Accelerate."
186- link = " https://github.com/prisma/prisma-examples?tab=readme-ov-file#prisma-accelerate"
187- />
188- </Grid >
189- <br />
190- <LinkCard
191- highlight
192- icon = " fa-solid fa-bolt"
193- title = " Speed Test"
194- desc = " Run the speed test to see how Prisma Accelerate can make your app faster."
195- link = " https://accelerate-speed-test.prisma.io/"
196- />
197-
198- ## <Inspect color = " #16A394" width = " 27" height = " 24" /> Prisma Optimize
199-
200- Make your database queries faster by using the insights and recommendations generated by Prisma Optimize.
201-
202- <Grid >
203- <LinkCard
204- icon = " fa-solid fa-arrow-right"
205- title = " Get started"
206- desc = " Add Optimize to your app to gather useful insights and receive recommendations to improve query performance."
207- link = " /optimize/getting-started"
208- />
209- <LinkCard
210- icon = " fa-brands fa-github"
211- title = " Examples"
212- desc = " Explore our ready-to-run examples using Prisma Optimize."
213- link = " https://github.com/prisma/prisma-examples?tab=readme-ov-file#prisma-optimize"
214- />
215- </Grid >
100+ </List >
101+
0 commit comments