How theanuragg/uptime-monitoring works
Project type and purpose
• This is a monorepo full‑stack SaaS uptime monitoring platform (“DPin Uptime”).
• It comprises:
• A Next.js web frontend (apps/web) for users to sign up, view dashboards and manage services
• A RESTful API (apps/Api) serving website status data, handling auth and rate limiting
• Background services: a “Validator” (apps/Validator) that periodically polls user websites and records status, and a “Hub” (apps/Hub) that processes events (e.g., sending notification emails)
• Shared packages for common utilities, database access (Prisma), UI components, and configuration
File structure
• Top‑level “apps/” folder holds four runnable applications:
• web – Next.js front end
• Api – HTTP API built with Bun/TypeScript
• Validator – scheduled worker pinging websites
• Hub – event handler, e.g., email notifications
• “packages/” folder holds reusable libraries:
• Common – shared helper functions
• Db – Prisma schema and migration scripts
• eslint-config & typescript-config – lint and TS presets
• ui – shared React UI primitives
• Turbo.json and lock files indicate use of a Turborepo monorepo with workspace hoisting
• Config files (tsconfig.json, next.config.js, package.json) define build and deployment
README for additional insight
• It confirms this is a SaaS uptime monitoring tool with a landing page in development
• Future needs will include multi‑tenant support, alerts, email integration