Buy Now and unlock this series
$
49
.99
$
39
.99
yours forever
$
49
.99
$
39
.99
Become a Pro and unlock everything
$
24
.99
per month
$
24
.99
Scaffolding our API
Now we will start scaffolding out our GraphQL API and build a few queries using Prisma so we can see how it retrieves data.
Downloads
Become a pro to download code and videos
Modern GraphQL Databases with Prisma
31 videos
Released: September 30 2021Course Instructor
Ryan Elainska
- Getting Started
15m14s - Basic Prisma Schema
19m9s - Scaffolding our API
16m45s - Organizing our API into Modules
22m37s - Creating the S3 Bucket Interface
25m30s - Creating our Local "Bucket"
17m48s - Creating Rows Using Prisma
9m37s - Creating Rows with Relation Fields
22m36s - Downloading Files from a GET Endpoint
16m18s - Uploading Files to a PUT Endpoint
7m34s - Getting by ID Using Prisma
12m33s - Seeding Data
26m26s - Creating a New File Version
16m1s - Getting Relation Fields
12m34s - Updates and Deletes, Part 1
6m39s - Updates and Deletes, Part 2
18m23s - Updates and Deletes, Part 3
15m20s - Basic Search
7m57s - Tracking "Ancestors" with a Prisma Array Type
8m14s - Updating our API for Ancestors
6m23s - Large DB Transactions
25m29s - Prisma 'distinct'
27m41s - Prisma Raw SQL Queries
15m54s - Counting and Aggregating
8m17s - Prisma Middleware
13m12s - Updating our API for Soft Delete
12m57s - Prisma JSON Type
4m48s - Creating a Row with a JSON Column
6m29s - Updating JSON Columns, Part 1
11m23s - Updating JSON Columns, Part 2
4m58s - Where To Go From Here
1m10s
Comments
Michael
4 months ago
Do you have any advice for Windows users with respect to development vs production environments and NODE_ENV? When I run this, I get
`PS C:\Code\levelup\prisma\file-manager-api> npm run dev
because the dev command does not set the environment in Windows...
"dev": "NODE_ENV=development nodemon app.ts",
Michael
4 months ago
Having done all that, As a Windows user, I feel like I should just use .Net Core and Entity framework it's much less painful, however it's good to see how the other half live. :)
Michael
4 months ago
In answer to my own question, I got this running on Windows 10, but it required two additions.
"dev": "SET NODE_ENV=development & nodemon app.ts",
The & is important.npm i -g ts-node
then you'll get a server on port 3000.Want to join the conversation?
Become a Pro member today!