If you're interested in giving clerk a try, be sure to check it out with this link: clerk.com?
@ericxls93 Жыл бұрын
Clerk, Microsoft Login?
@joshtriedcoding Жыл бұрын
Great to see your approach on building software like this. I think showing a demo of the final product in the beginning and also explaining why we are using clerk instead of next-auth and which benefits that would bring to someone following along w/ you would make this even better. Thanks for sharing!
@WebDevCody Жыл бұрын
good advice! I'll remember to demo at the start next time
@developer_hadi Жыл бұрын
Bro you're a legend, keep sharing tutorials about Next
@0xPanda1 Жыл бұрын
Love you detailed tutorials ❤️
@raymondmichael4987 Жыл бұрын
Good to Josh here, you guys become my go-to instructors when it comes to T3 simply because your teaching styles are awesome and more importantly you always use typescript 😊🎉❤
@real23lions Жыл бұрын
Great to see Josh and Cody improving the community together
@ludanjubara Жыл бұрын
Amidst the infinite expanse of visual entertainment, only a rare few hold my attention until the end. This one, however, possesses a mystical allure that prevents boredom from taking hold. One can only bow to the king! Amazing...
@WebDevCody Жыл бұрын
You should become a writer. This comment is on a game of thrones level
@pablom885411 ай бұрын
51:00 you can access the onsuccess and onerror from the mutation I think that's better. I'm really stuck with Prisma right now
@saogregl Жыл бұрын
Clerk is great! I'm happy they're sponsoring the vídeo, your content is great!
@WebDevCody Жыл бұрын
thank you! yeah so far I've been enjoying using Clerk for my auth. Saves me the hassle of setting up individual oauth keys for other social media logins
@nicholasbazzoni7084 Жыл бұрын
i remember having node dependency issues with next auth but clerk seems to work just fine so far. pretty smooth
@bishenpatel1676 Жыл бұрын
You've made everything sound so easy.. Thank you Cody.. Appreciate it a lot..
@WebDevCody Жыл бұрын
Happy to help!
@MaxProgramming Жыл бұрын
Clerk is an outstanding service! Thanks for this tutorial 😀
@DanteMishima Жыл бұрын
Just when I needed this the most, you deliver.... Thank you Cody
@insensibility Жыл бұрын
More of these, please Cody!
@MyCodingDiary Жыл бұрын
This video made my day, thank you for sharing your talent with us!
@WebDevCody Жыл бұрын
Glad you enjoyed it!
@nerdypappy10 ай бұрын
Thank you! I want to try to integrate this with an unusual platform.
@dazzcelt Жыл бұрын
Great video! Clerk aren't populating the user object in the useAuth hook currently - they suggest using the userId then calling getUser for now.
@petkopetkov5494 Жыл бұрын
Great Video! Can you tell me what is this vscode plugin that shows you eslint errors/warnings inline ?
@WebDevCody Жыл бұрын
Error lens
@ericsonl_ Жыл бұрын
hopefully you can also do role permission with clerk
@raymondmichael4987 Жыл бұрын
I would love to see it too
@karlapple7275 Жыл бұрын
Excellent, thanks for sharing with the community. Can you add a short tutorial, on how to add multiple images. Which database can you advise for storing media?? Cloudinary , AWS S3 etc.. ?
@WebDevCody Жыл бұрын
I use s3 for media. Yeah maybe if I get time
@sks_foodology Жыл бұрын
does anyone got issues with "npm i" ? iam not able to install dependencies. it got stuck. i tried force also
@santeigo1234569 ай бұрын
Hi I am stuck with this error (❌ tRPC failed on listings.create: Cannot read properties of undefined (reading 'create')).
@marbelle6290 Жыл бұрын
thx for video and now I have a question: how could we inplement swagger documentation and swagger UI to see all available endpoints?
@parkerrex Жыл бұрын
This is great - thanks Cody!
@temzeks Жыл бұрын
i found that, to get the value as a number, in case of price in here, when declaring the input, need to write it out like this: {...register("price", { required: true, valueAsNumber: true })}. But it is kind of weird, even the type is a number and we have to do it still.
@ArmstrongTheoTheophile Жыл бұрын
i know you probably get this alot, but what are your vscode appearance settings
@WebDevCody Жыл бұрын
bearded theme
@david_the_extreme_gamer Жыл бұрын
It's also Bearded Icons as well
@JohannesDanis Жыл бұрын
Can i know your vs code theme ? thanks
@johnbattista2309 Жыл бұрын
Hey cody, something I noticed is you use Float for the price, I typically always do price_in_cents, as dealing with float are sometimes annoying! Great video🎉
@WebDevCody Жыл бұрын
yeah using float probably isn't the best approach
@sandrinjoy Жыл бұрын
hey which extension are you using to highlight errors as you type in vscode?
@AlexanderHristov333 Жыл бұрын
Hey Cody, can you talk about architecture when it comes to react applications in one of your videos. Love your videos!
@WebDevCody Жыл бұрын
I basically put files close to where they are used, and if they’re used multiple places I’ll put in a util or hooks or api directory
@temzeks Жыл бұрын
is it possible to have any number of middlewares in nextjs like we can have in express? i can't see how to do it anywhere
@WebDevCody Жыл бұрын
no I do not think so, but since your middleware is a function that runs before each request, you can easily write logic to run different middlewares based on the url invoked or combine multiple together manually if needed
@naughtiousmaximus7853 Жыл бұрын
Hey Cody, I have a question. Could videos like these be used as a learning tool? Like for example this specific project, can it be useful in the future to build different kinds of marketplaces? I am asking this because tutorials usually just create specific project, but I feel that unless I plan it out and do it myself, I am not really learning, but then I get to the point where I decompose the project into smaller pieces and google and try to implement those anyway, so I am super lost overall. Any help or advice would be appreciated.
@WebDevCody Жыл бұрын
I’m not sure I understand your question. these types of video can help teach about various concepts and expose you to general ideas of how apps can be built
@naughtiousmaximus7853 Жыл бұрын
@@WebDevCody yeah exactly, however some programmers are saying this is not a good way to learn, which leaves me confused, I think this is a great way to learn. Most of those people think that with anything in programming you should constantly try to re-invent the wheel even for smallest portions of the project.
@strahinja2977 Жыл бұрын
I'm having a problem on my website. When I'm logged in and try to access another page(for instance sell-an-item or about page, or any other page), it keeps refreshing and sending me to the Clerk login page. But when I'm not logged in, everything seems to be working fine. Any ideas on how to fix this?
@WebDevCody Жыл бұрын
double check your middleware and make sure you include your public pages in the array. As a reference, please check out my git repo: github.com/webdevcody/online-marketplace/blob/main/src/middleware.ts#L5
@strahinja2977 Жыл бұрын
@@WebDevCody also i checked and it seems to be working fine with the site that is hosted on vercel but not in my dev server
@WebDevCody Жыл бұрын
@@strahinja2977 try adding debuggers or logs to the middleware. That’s the only place that would cause any type of url redirect.
@strahinja2977 Жыл бұрын
@@WebDevCody Hey Cody, I gave it a shot but it's still not cooperating. The debugger isn't getting recognized and it's not stopping, and even console logs aren't being recognized.
@VolaFernandes Жыл бұрын
I ran into the same problem. I've created another applications (on clerk), but it stills the same, unlogged it looks fine, but when I log in it starts reloading the page over and over, even cloned the final project on cody's github and still. Might gonna try to create a new acc on clerk later and see if persists
@thequang9234 Жыл бұрын
I'm new to the T3 stack, can anyone explain to me what is the role of PlanetScale in this stack ? i thought it'd act as a db but in this project he used sqlite and didn't set up PlanetScale and it deployed just fine, i tried it. Thanks in advance :)
@WebDevCody Жыл бұрын
planetscale is a database you'd want to use when you deploy to production. I didn't end up deploying to production in this tutorial, so I just kept everything using sqlite. If this wasn't a little prototype tutorial, I'd use mysql or postgres locally and use planetscale (mysql) or supabase (postgres) as my production database.
@thequang9234 Жыл бұрын
@@WebDevCody thank you, i did use mysql for planetscale but at the point where u added a schema for Message it ended up throwing an error for planetscale not supporting foreign key when i db push. Any recommendation ? Thanks a lot
@buletinsehu Жыл бұрын
Not sure, but I think your referral link in the description isn't working properly.
@WebDevCody Жыл бұрын
thanks for pointing that out, it should be fixed now
@Eliac77 Жыл бұрын
I am new to T3 stack but that a fully explanatory tutorial. Thanks Cody! One question, which extension do you have that auto arrange the tailwind classes? Thanks!
@cleancapsco Жыл бұрын
Clerk seems pretty cool, I'm assuming you can use the App directory in nextjs and it will work with the middleware still?
@dawnpeace9122 Жыл бұрын
big thanks for the good content as always
@WebDevCody Жыл бұрын
No problem 👍
@spiridonov1 Жыл бұрын
Love these kinds of videos. 0 to something
@ldatuan Жыл бұрын
It is great content. Thanks for sharing !
@gooniesfan7911 Жыл бұрын
i know some turks living in germany coming here to watch this take notes and hook it up to tor
@SeibertSwirl Жыл бұрын
Good job babe!!!!! First 👑
@ahmadalghali90 Жыл бұрын
“What the hell is a JavaScript babe?” 😂
@SeibertSwirl Жыл бұрын
Lmaoooooooo listen… hahaha I’m clueless but supportive 💅🏿
@petermckeever2360 Жыл бұрын
Man I wish my company were using clerk instead of Auth0
@spencerhepworth6435 Жыл бұрын
Will you ever follow all the best practices 100% of the way through a big project? It seems like you take the easy route a lot. "Normally you do it this way, but we'll try it a different way."
@WebDevCody Жыл бұрын
I forget what I did in this video, what shortcut did I take?