Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Build a Backend with Prisma in a TypeScript Node Project

via egghead.io

Overview

This course will give you a clear understanding of how to start using Prisma in your full-stack web applications. Prisma is an open-source ORM. It consists of the following parts:
Prisma Client: Auto-generated and type-safe query builder
Prisma Migrate: Migration system
Prisma Studio: GUI to view and edit data in your database
In this course, we will learn how to use the power of Prisma in a TypeScript backend application using SQLite. Through the course, you'll be building an application to display the details of products that have been saved in the project's database. You will learn how to initialize Prisma, use Prisma Client to create and find records, use Express to create data dynamically, and much more
In the end, you will be able to understand how Prisma works, and confidently start using Prisma in your own project.
The Prisma version used in this course is ^2.26, and the latest version is 2.28. As of 2.28, there are no major breaking changes.

Syllabus

  • Install the Prisma VS Code Extension
  • Initialize Prisma in a TypeScript Node Project
  • Create a Model for a Table and Run Migrations
  • Use Prisma Studio to Create a Record
  • Use Prisma Client to Find Many Records in a Table
  • Use Prima Client to Select a Subset of Data
  • Create a Database Record with Prisma Client
  • Use Express to Create Data Dynamically
  • Create a Relation Between Two Tables in the Prisma Schema
  • Use Prisma Client to Query for Related Data
  • Use Prisma Client to Connect Related Tables when Creating New Data
  • Limit the Amount of Returned Data with Prisma Client

Taught by

Ryan Chenkie

Reviews

4.7 rating at egghead.io based on 114 ratings

Start your review of Build a Backend with Prisma in a TypeScript Node Project

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.