Neon: https://bit.ly/tomdoestech
In this video, you will build a multi-tenanted, Role-Based access control authentication API with Node.js, Drizzle ORM, TypeScript, PosgresSQL & Neon.
Repository: https://github.com/TomDoesTech/user-api
0:00 Introduction
5:07 - Bootstrap application
15:13 - Setup Drizzle ORM
20:04 - Define schemas
35:10 - Application module
44:17 - Default roles
56:50 -Register user
1:18:37 - Login
1:35:18 - Create a role
1:41:22 Assign role to user
1:47:30 Guards
2:01:03 Outro
Thank you to Neon for sponsoring this video. If you want a managed PostgresSQL database with a generous free tier, make sure you check out Neon https://bit.ly/tomdoestech
What you will learn:
How to create a multi-tenant application
How to create a role-based access control system
Some basic relational database concepts
A nice and neat file structure for backend services
RESTful API design
TypeScript
Fastify
How to use Drizzle ORM
🌎 Follow me here:
Discord: / discord
Twitter: / tomdoes_tech
Facebook: / tomdoestech
Instagram: / tomdoestech
TikTok: / tomdoes_tech
☕ Buy me a coffee: https://www.buymeacoffee.com/tomn
Watch video Build a Multi-Tenanted, Role-Based Access Control System online without registration, duration hours minute second in high quality. This video was added by user TomDoesTech 23 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 35,773 once and liked it 1 thousand people.