Hello, in this short post, I'll show you how to notify your admin when your database is down.
Prerequisite
π― The Fundamentals of NodeJs
π― Basic knowledge of using nodemailer to send emails
Database configuration using mongoose
Terminal output
Email result
Conclusion
I hope this post was helpful. Thanks for reading
Top comments (1)
super helpful , nice