Monitor Website Uptime API

Back End

What I did:

  • Built an API from scratch using raw Node.js without any frameworks.
  • Implemented CRUD operations for managing users, tokens, and monitoring checks.
  • Used TypeScript for type safety and maintainable code.
  • Replaced traditional callback-based Node.js APIs with async/await for better readability and efficiency.
  • Developed a monitoring system that reads check files, makes network requests, and verifies responses against success codes every minute.
  • Integrated Twilio SMS service to send alerts when a monitored service's status changes from "up" to "down" or vice versa.
  • Designed the system to dynamically update the status of services in real time and save changes to the check files.

Technology I used:

  • Node.js
  • TypeScript
  • Twilio SMS API
  • Native Node.js File System (fs) Module
  • Native Node.js HTTP and HTTPS Modules
  • Async/Await (Modern JavaScript)
  • JSON for Data Storage

View Project