Setup Prisma with Apollo Server V4 and MongoDB Atlas (Prisma Setup)
ฝัง
- เผยแพร่เมื่อ 2 ส.ค. 2024
- 🎓 Join my learning platform for module based courses, learning exercises, and more: coderprep.com/
In this video I show you how to setup Prisma with MongoDB Atlas and Apollo Server. We cover Prisma models, building a GraphQL API, TypeScript, and everything else you need to know when building out an API with Prisma and Apollo Server.
Final code: github.com/coopercodes/Prisma...
0:00 Intro / API Showcase
0:40 Prisma / MongoDB setup
5:14 Create MongoDB Atlas instance
7:10 Setup Prisma Client
8:50 Create Apollo Server / Prisma logic
15:15 Final project, thanks for watching! - วิทยาศาสตร์และเทคโนโลยี
You are using apollo 4, and there is relatively little information about it, which is of great help to us. Thank you
Full stack video using apollo server 4 soon :). Glad you appreciate seeing the apollo content! Thanks for watching
@@CooperCodes thank you very much
@@CooperCodes mongoose or Prisma,which is better to use?
You have saved me hours. Thank you
Great content here, glad I found your channel. Straight to the point in record time
No bullshit, to the point, useful. Thanks!
Thanks for another interesting tutorial.
You're welcome! A bit more niche but I found a lack of content regarding this setup so decided to make a video to help the few :)
at 8:49 you could imply do `import { prisma } from "./db" `
How would you write unit tests for this?
Thank you, this was very useful ! Can you do a tutorial to deploy it ? I tried to deploy this to AWS lambda but keep get prisma errors :(
+1 on this
I was trying to make social media app project using react and grapql api, but I am not sure how to upload photos from react and receive it in backend using graphql
Can you help? I looked on youtube, googled but all content was outdated (apollo 2)
Prisma or mongoose,which is better to use here? @cooper codes
Also wondering why you're choosing Prisma to connect to Mongo. Seems like Prisma makes more sense for RDBMS.
@@cjfong425 yeah,you're right.