Build a Notification System in Next.js with Knock

  Рет қаралды 4,745

Colby Fayock

Colby Fayock

Күн бұрын

Пікірлер: 33
@colbyfayock
@colbyfayock 3 ай бұрын
Learn how to build a full stack Next.js app in my upcoming course: colbyfayock.com/course
@ammarhalees6370
@ammarhalees6370 5 ай бұрын
Colby still remains one of the most underrated channels in the dev community.
@colbyfayock
@colbyfayock 5 ай бұрын
thank you 🙏
@JamesQQuick
@JamesQQuick 5 ай бұрын
Ah this is exactly what I need for a recent project!
@colbyfayock
@colbyfayock 5 ай бұрын
its so good! would love to hear what you think if you play around with it
@okadz7037
@okadz7037 4 ай бұрын
Omg bro u r always saving me, the cloudinary one and now this, keep up ur legendary 👑
@colbyfayock
@colbyfayock 4 ай бұрын
glad i could help! 🙌
@mileslegend
@mileslegend 2 ай бұрын
well explained...thanks man ..am giving you a like ..and a subscribe ...your amazing
@colbyfayock
@colbyfayock 2 ай бұрын
appreciate the support 🙏
@colbyfayock
@colbyfayock 5 ай бұрын
Get fresh tutorials and other free content straight to your inbox! colbyfayock.com/news
@cb73
@cb73 5 ай бұрын
There’s a SaaS for every thing a web app needs. It’s like cutting cable and replacing it with 20 streaming services and still think you’re winning.
@colbyfayock
@colbyfayock 5 ай бұрын
It's nice to have that flexibility! Especially with something as complex as these workflows can bd
@dreamsachiever212
@dreamsachiever212 5 ай бұрын
💯
@NphiniT
@NphiniT 4 ай бұрын
In-app notification not working for me. I am using Auth.js (NextAuth v5) and all users have an ID in the database. But when I set the recipient to the ID it still does not work. On the Workflow runs though, it says it is completed. I've been at it for hours. Any help will be greatly appreciated
@colbyfayock
@colbyfayock 3 ай бұрын
did you happen to check the Logs page inside of Knock? not just the Workflow Runs, it may give a bit more information to see if that was triggered
@NphiniT
@NphiniT 3 ай бұрын
@@colbyfayock The logs also show 200 OK response. In my implementation, the 'collection' field is required. So I pass the same value as the 'id'. Do you think this is why I'm having issues? If so, how do I set up collections?
@NphiniT
@NphiniT 3 ай бұрын
@@colbyfayock So I have found the problem. The recipient collection value is prepended to the recipient ID. So when collection is set to 'abc', and the id is 'xyz'. After execution, the id becomes 'abc/xyz'. Then I found that the collection is only required if the email is provided. So I removed the email. This meant that I have to register every user whenever they log in. I think the current version has a few changes that are different from when you made this video.
@colbyfayock
@colbyfayock 3 ай бұрын
@@NphiniT ahhh okay. glad you were able to find and sort it out
@BrianEspinoza
@BrianEspinoza 4 ай бұрын
is anyone else having issues seeing notifications after deploying to Vercel or some hosted environment? this works when I test locally with ngrok but nothing in prod. user is registering fine with Clerk and Knock but no notification ever appears.
@colbyfayock
@colbyfayock 4 ай бұрын
hey did you check the logs inside of Knock to see if the API request is even making it through? Workflows => Choose your Workflow => Logs
@BrianEspinoza
@BrianEspinoza 4 ай бұрын
@@colbyfayock i did! Workflows showed message was making it through but never read. Did some more digging, found I had a conflicting env variable in production. That resolved the issue
@rtorcato
@rtorcato 5 ай бұрын
any idea what library they are using for the workflow branching and drag and drop?
@jeffeverhart
@jeffeverhart 5 ай бұрын
Hey from Knock, it's a combo of libraries: react-flow, dagre for graph modeling, and dnd-kit
@rtorcato
@rtorcato 5 ай бұрын
@@jeffeverhart great thanks. Nice app btw
@abusomwansantos4945
@abusomwansantos4945 3 ай бұрын
can i implement knock notification in my pwa?
@colbyfayock
@colbyfayock 3 ай бұрын
hey i dont see why you couldnt implement but Knock needs the networks to receive notifications. if you're referring to browser push notifications, i dont believe they support that
@cardiderek
@cardiderek 2 ай бұрын
why use knock instead of FCM?
@colbyfayock
@colbyfayock 2 ай бұрын
no familiar with FCM!
@kyngcytro
@kyngcytro 2 ай бұрын
Ok is it me or does knock seem close to novu?
@colbyfayock
@colbyfayock 2 ай бұрын
havent heard of that one!
@deanime-k4i
@deanime-k4i 2 ай бұрын
novu is an opensource alternative to knock, suprsend and engagespot
@santyas
@santyas 5 ай бұрын
Superb
@colbyfayock
@colbyfayock 5 ай бұрын
thank you!!🙌
Create Your First Notification System - Next.js & more!
6:56
CodeBrew
Рет қаралды 4,1 М.
Design A Scalable Notification System | System Design
28:23
Code with Irtiza
Рет қаралды 42 М.
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 2 МЛН
This Fixes CORS
13:02
Colby Fayock
Рет қаралды 5 М.
Implementing a Notification System in a Next.js/Nest.js application
13:09
TinaCMS - Rich Text Editor now fully Responsive
3:20
TinaCMS | Leading Markdown CMS for GitHub
Рет қаралды 142
Realtime Notification App Using React and Socket.io
1:06:20
Lama Dev
Рет қаралды 174 М.
Coding a FULL App with AI (You Won't Believe This)
15:19
Creator Magic
Рет қаралды 158 М.
You Don't Need a CMS - Use This Instead
28:55
Colby Fayock
Рет қаралды 25 М.
How to Design a Notification System for your Application
7:10
Web Dev Cody
Рет қаралды 23 М.
Build an Invoice App with Next.js 15
4:34:24
Colby Fayock
Рет қаралды 50 М.
How to send in-app notifications with Next.js
33:30
Knock
Рет қаралды 3,3 М.