Medium Clone with NextJs, Convex, and Clerk

preview_player
Показать описание
In this video, we'll build a Medium clone using NextJs, Convex, and Clerk. We'll use the Convex real-time database to get immediate updates and file storage to store our images conveniently. We'll integrate Clerk with Convex to access the auth context in our Convex functions. We'll also use a webhook to store user data in our Convex database.

👉🏼 Project source code

👉🏼 NextJs Clerk starter template

👉🏼 Live demo

👉🏼 Convex

👉🏼 Clerk auth

👉🏼 My courses

👉🏼 Work with me

Chapters:
00:00:00 Intro
00:05:00 Setting up Clerk
00:15:30 Setting up Convex
00:28:10 Adding Clerk auth to Convex
00:35:25 Storing user data in Convex
00:43:30 Defining users schema and functions
00:59:00 Creating an HTTP endpoint
01:06:00 Defining posts schema and the create post form
01:30:00 Uploading a file to Convex storage
01:37:50 Defining posts query functions
01:49:50 Creating dynamic slug page
01:53:50 Using convex in server components
01:59:34 Building the home page
02:11:00 Recap
Рекомендации по теме
Комментарии
Автор

Love your videos! You’re one of the best full stack devs on YouTube (who actually knows what he’s talking about lol). Keep up the good work!

haritir
Автор

what a legend, was having a problem with the http file adding user data to convex but you solved it, like always

AkmalAshwin
Автор

I know that with convex we can directly integrate Search Vector to combine it with OpenAI, you could perhaps update this application from time to time by integrating these features, that would be great!
Thanks in advance in any case.

yanDev
Автор

I’m working on building a production-ready web blog app and was wondering if the project you're teaching is production-ready. Also, for a production-level web app, would you recommend the tech stack you're using, or would it be better to use Next.js, PostgreSQL, and Prisma?

Karma-eb
Автор

i'm always w8ing ur videos . i rly have learned a lot from u .. and again useful and awesome video <3

mahmoudfawzy-yf
Автор

Why use Clerk and not Convex's auth solution?

Omar_Al_Seddik
Автор

You're doing a fantastic job! Could you help me with something unrelated: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?

AlexandraSkrzypinski
Автор

Is it possible to add a feature where each blog post has its own comment box for users to leave feedback or thoughts? If yes, could you please guide me on how to implement this feature?

FanTuneMusicStudio
Автор

Can you make a video on how to authenticate (jwt refresh token) in nextjs app router without using 3rd party library. I can't find a way to solve this problem)

michio
Автор

beautiful presentation, I have a question though, I can't put images in the blog content. is this normal?

pierre-louisclouet
Автор

How can you replace Clerk with Convex-auth?

ouss