Fastify is fast becoming the go-to web server technology for Node.js developers and Prisma is a staple ORM, used by more than 100,000 users. In this video, we will build a RESTful API with both Fastify & Prisma, along with Zod & TypeScript.
Repository: https://github.com/TomDoesTech/fastify-prisma-rest-api
0:00 Intro
2:35 Demo
5:47 Code walk-through
11:52 Bootstrap
17:51 Create user
20:35 Prisma setup
31:21 Hash and verify passwords
45:05 Login
55:10 List users
1:00:14 Product schemas
1:05:30 Product services
1:07:50 Product handlers
1:11:13 Product routes
1:17:48 Swagger docs
1:20:52 Outro
🌎 Follow me here:
Discord: https://discord.gg/4ae2Esm6P7
Twitter: https://twitter.com/tomdoes_tech
Facebook: https://www.facebook.com/tomdoestech
Instagram: https://www.instagram.com/tomdoestech
TikTok: https://www.tiktok.com/@tomdoes_tech
☕ Buy me a coffee: https://www.buymeacoffee.com/tomn