A lightweight, extensible uptime & health-check system built with Node.js, Express, MongoDB, node-cron, axios, Tailwind CSS, Vanilla JS, and Nodemailer.
This service periodically checks endpoints, logs results into MongoDB, provides a dashboard UI, and sends email alerts when monitored services go down.
- 🔄 Automated health checks powered by node-cron
- 🌐 Filter option in the history log
- 🗄 Persistent storage using MongoDB
- 📡 Fast HTTP checks with axios
- 📊 Dashboard UI (Tailwind + Vanilla JS) to view monitor status
- 📧 Email alerts using Nodemailer
- Clone the repo
git clone https://github.com/shalinv/ServerMonitor.git
cd ServerMonitor- Create .env and add the following
MONGO_URL="[URL]"
EMAIL_USER=[USER]
EMAIL_PASS=[PASS]3.Install dependencies
npm install4.Run the server
node server.js- Open the browser
http://localhost:3000/

