Nice example, thank you! Can you connect to DB only once and not in each api endpoint? What is the correct pattern and good place to do the initial DB connection when server is running?
Hello, check this out nextjs.org/docs/app/api-reference/next-config-js/serverComponentsExternalPackages server components using Mongoose is an experimental feature in Next 13. Next doesn’t have config for Mongoose by default
Hello. This is great. Thank you so much! I have one question though. I keep having this error where my application will connect to the db on one day but refuse completely to connect ton my db on another day and it is sending a timeout error. What could be the problem and how can I solve this issue
I like this type of tutorial where you get errors also, so we can learn how to tackle errors. Thank you, ma'am. Love from India.
My pleasure 😊 I think it's important to show them so you can also get a sense of how it really is when you code.
Nice example, thank you!
Can you connect to DB only once and not in each api endpoint? What is the correct pattern and good place to do the initial DB connection when server is running?
Thanks for your videos!! I really learn a Lot
Glad you like them!
Great video! The link in the description is pointing to the previous video's branch btw
can you please explain me , why we use serverComponentsExternalPackages in simple language, and what happen if we dont use that
Hello, check this out nextjs.org/docs/app/api-reference/next-config-js/serverComponentsExternalPackages
server components using Mongoose is an experimental feature in Next 13. Next doesn’t have config for Mongoose by default
Thanks for the video!
No problem! ☺️
Amazing tutorial Alicia
Thank you! 😊
Plz make more video about next js ...with mongodb
Thanks for create videos high quality education
It's my pleasure
really appreciate this content! thanks!!!
Hello. This is great. Thank you so much! I have one question though. I keep having this error where my application will connect to the db on one day but refuse completely to connect ton my db on another day and it is sending a timeout error. What could be the problem and how can I solve this issue
Hello!
Do you think you are using different IPs? Try to check if the IP you are using when it is not working is whitelisted in MongoDB
Very good 🎉
Thanks 😊
Can you make projects on react + next js ?
@timetocode_with_ali, please also do a nextauth or a signup, with mongodb. Thanks in advance
Hello there 😂 mam you are a spectacular teacher
Wow, thank you
Nice
shes so cute i fell for her
Are you a British blonde girl? I love your coding skills