P
Prisma•6mo ago
Wolverine

How to Get Started with Prisma? ORM

Prisma
YouTube
How to create a PostgreSQL Database with Prisma's Data Platform
â—­ Version 2.28.0 Release notes: https://github.com/prisma/prisma/releases/tag/2.28.0 Prisma's 2.28.0 release includes some super convenient improvements to the project creation flow in the Prisma Data Platform. This allows you to provision a new PostgreSQL Database with Heroku, choose a template schema for common types of projects, and populate...
25 Replies
Wolverine
Wolverine•6mo ago
In the tutorial, the guy picks the name for the project and picks a sample structure and goes from there. When I tried doing the same, all I was asked for was the name of the project and it was created. I am confused though because I did not get to pick Postgresql or the repo name or anything.
Wolverine
Wolverine•6mo ago
No description
jonfanz
jonfanz•6mo ago
Yeah that guide is out of date. Are you looking to have a hosted PostgreSQL db?
Wolverine
Wolverine•6mo ago
Yes
jonfanz
jonfanz•6mo ago
We're no longer offering that 🙂 I would recommend something like supabase or neon.tech for that
jonfanz
jonfanz•6mo ago
Supabase
Supabase | The Open Source Firebase Alternative
Build production-grade applications with a Postgres database, Authentication, instant APIs, Realtime, Functions, Storage and Vector embeddings. Start for free.
jonfanz
jonfanz•6mo ago
Neon
Neon — Serverless, Fault-Tolerant, Branchable Postgres
Postgres made for developers. Easy to Use, Scalable, Cost efficient solution for your next project.
Wolverine
Wolverine•6mo ago
No description
Wolverine
Wolverine•6mo ago
I mean this is all I am trying to do. In the video, he skipped the step for how to obtain this DATABASE_URL He said to use your own postgresql link, so I am not sure how to initialize my own db or get the link for this
jonfanz
jonfanz•6mo ago
hmmm well, if you're looking for just local testing, I would probably recommend using docker to run a postgresql db locally. Here's a how to guide from their site. https://www.docker.com/blog/how-to-use-the-postgres-docker-official-image/
Tyler Charboneau
Docker
How to Use the Postgres Docker Official Image | Docker
Check out our guide on how to use the Postgres Docker Official Image, including options for customization and data storage tips.
Wolverine
Wolverine•6mo ago
This is the requirements for the project. Sorry for sending a long description, I am completely new to Prisma and connecting the web to the database. However I would like your help to be sure that I am on the right track. Based on the description, is hosting it locally sufficient? (Note: I am working in a group).
No description
Wolverine
Wolverine•6mo ago
Also, postgres is not required. I could go based on Oracle or Sqlite instead if that is whats causing the problem.
jonfanz
jonfanz•6mo ago
Yes. The DB will be hosted locally on your machine, but it is a real database and is not JSON or local storage. If you're concerned I'd reach out to your instructor.
jonfanz
jonfanz•6mo ago
If you'd prefer, our Quickstart uses SQLite: https://www.prisma.io/docs/getting-started/quickstart
Prisma
Quickstart with TypeScript & SQLite
Get started with Prisma ORM in 5 minutes. You will learn how to send queries to a SQLite database in a plain TypeScript script using Prisma Client.
Unknown User
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server