Building with Purpose 3: Using Prisma and PostgreSQL for the database part
Now that we have the authentication implemented, we need to define the database.
We first need to add the necessary dependencies.
pnpm add @prisma/client prisma pg
Create the database:
psql -U postgres
CREATE DATABASE yourdatabase;
With Postgres r...
jordi0lle.hashnode.dev3 min read