Тёмный
No video :(

How I like to implement role based authorization in Next.js apps 

Web Dev Cody
Подписаться 230 тыс.
Просмотров 9 тыс.
50% 1

My Products
🏗️ WDC StarterKit: wdcstarterkit.com
📖 ProjectPlannerAI: projectplanner...
🤖 IconGeneratorAI: icongeneratora...
📝 ThumbnailCritique: thumbnailcriti...
Useful Links
💬 Discord: / discord
🔔 Newsletter: newsletter.web...
📁 GitHub: github.com/web...
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@gumilhopipoca4041
@gumilhopipoca4041 3 месяца назад
I've seen google recommend ads of things i was just talking about, but seeing a youtuber post a video about the thing i was searching 30 minutes ago is a first for me, thank you
@WebDevCody
@WebDevCody 3 месяца назад
they are tracking everything you do at this point
@teamvashmmo3218
@teamvashmmo3218 3 месяца назад
lol same I started doing role based access control for the first time yesterday haha
@CodingAfterThirty
@CodingAfterThirty 3 месяца назад
Lol. You are the reason why I don't make tutorials. I can just recommend folks to watch your channel.
@WebDevCody
@WebDevCody 3 месяца назад
🤣
@naylord5
@naylord5 3 месяца назад
superb content! I really like this kind of quick videos with extremely helpful tips and tricks. Thank you so much for sharing! Please keep them coming! 🔥🔥
@EdwardOrnelas
@EdwardOrnelas 3 месяца назад
I'm itching for that Starter Kit 😅
@Dom-zy1qy
@Dom-zy1qy 3 месяца назад
I'm doing something similar right now and its really satisfying how you can use a server component, and from there include the client components based on a boolean condition. So the browser never has to receive the js for components it doesn't need.
@WebDevCody
@WebDevCody 3 месяца назад
yeah it's pretty simple using RSC
@MaxOnTech
@MaxOnTech 3 месяца назад
Your upload frequency is insane Cody! Keep it going! 🦾
@jlsonline
@jlsonline 3 месяца назад
Really helped me understand. I like the boolean checks (isowner, ismember, etc) too, good idea. Did you already cover the schema in another video? I'm interested in the relationships between groups and users and the db structure. I presume it's not a db-per-group? From this video, it seems like a member(ship) is just a relationship and that actual app data is related to a group? Is that right? Also, I was interested in the caching you mentioned to make it performant. It was something I hadn't heard of and am investigating.
@WebDevCody
@WebDevCody 3 месяца назад
that cache method is built into next.js. Basically on a single request, it'll cache any value and re-use if you call that method anywhere else in that same request. New requests would use a different cache value.
@user-ou8xg5xj6w
@user-ou8xg5xj6w 3 месяца назад
Nice implementation sir. pls sir realy like your vs code theme.
@WebDevCody
@WebDevCody 3 месяца назад
bearded theme stained blue is the theme
@latiotech
@latiotech 3 месяца назад
"It's turning out to be more work than I thought it would be" should be a life motto for JS developer work 😥
@ogbillity
@ogbillity 3 месяца назад
I used PgEnum in my dizzle schema but when i attempt to migrate, I encounter an error that the enum type does not exist.
@naughtiousmaximus7853
@naughtiousmaximus7853 2 месяца назад
Cody, how would this product be categorised in terms of complexity? Is this an intermediate or advanced level project?
@WebDevCody
@WebDevCody 2 месяца назад
my starter kit? maybe intermediate, but those terms are subjective.
@naughtiousmaximus7853
@naughtiousmaximus7853 2 месяца назад
@@WebDevCody yeah, understandable. Cool project though, also the tutorial is super useful.
@ShivGamer
@ShivGamer 3 месяца назад
Hey Cody, Can you recommend any other editors like tip tap? which are free to use and work best? or do u recommend to build one for own use?
@WebDevCody
@WebDevCody 3 месяца назад
Tiptap is free to use, they just have some more premium features if you want them. The basic editor that you saw in this video is all free and mit license
@ShivGamer
@ShivGamer 3 месяца назад
@@WebDevCody Ok cool! Thanks
@MB-uy1mp
@MB-uy1mp 3 месяца назад
cool Cody
@abdirahmann
@abdirahmann 3 месяца назад
OMG that tip-tap editor looks horrendous, it needs a ton of work! 🤣🤣
@SeibertSwirl
@SeibertSwirl 3 месяца назад
Good job babe! I’m so late 😅
@0b3ryn29
@0b3ryn29 3 месяца назад
What's the price range? Any discount based on country of origin?
@WebDevCody
@WebDevCody 3 месяца назад
depends on how far i take it, probably around $99-$150 range. Where do you live and what's the max you could afford? I may do some purchase parity at some point
@0b3ryn29
@0b3ryn29 3 месяца назад
@@WebDevCody philippines. 80-100 would be great. Thanks for the great content.
@JerrenT
@JerrenT 3 месяца назад
shouldnt isGroupOwnerUserCase and isUserMemberofGroupUserCase, be 'Use' instead of the 2nd 'User'
@WebDevCody
@WebDevCody 3 месяца назад
yes, I need to rename those; it was a typo I think
@patolorde
@patolorde 3 месяца назад
Nice
@FridayOLeary
@FridayOLeary 3 месяца назад
ETA on the starter kit?
@WebDevCody
@WebDevCody 3 месяца назад
at this point I'm not sure 🤣 maybe another month
@user-os5sg3of9m
@user-os5sg3of9m 3 месяца назад
@@WebDevCody may be you can give early access like alpha or beta with cost
@drprdcts
@drprdcts 3 месяца назад
He's pivoting to Laravel ;))
Далее
I'm finally moving away from Next-Auth
16:24
Просмотров 22 тыс.
How I structure my next.js applications
23:19
Просмотров 26 тыс.
How I setup role based authorization Next Auth
6:59
Просмотров 12 тыс.
How to Manage User Roles in NextJS / NodeJS
12:11
Просмотров 108 тыс.
The Story of Next.js
12:13
Просмотров 566 тыс.
Why I still choose next.js
19:39
Просмотров 19 тыс.
Role-based Authentication in NextJs 13 using NextAuth
13:29