Skip to content
C

CloudVigil

See the unseen, Secure the unknown.

Created on 22nd March 2026

•

C

CloudVigil

See the unseen, Secure the unknown.

The problem CloudVigil solves

Our team leveraged the Requestly API Client as a central pillar of our development and testing workflow for CloudVigil. We used it to meticulously structure and execute every API request — from authenticating with our JWT-secured endpoints to validating complex analytics payloads — all within a single, organized collection that served as both our test suite and our live demo environment. The Requestly API Client allowed us to rapidly iterate on our backend by testing protected routes with Bearer token authentication, inspecting response headers and status codes in real time, and catching edge cases like malformed payloads and expired tokens before they ever reached our frontend. By integrating Requestly into our workflow from day one, we eliminated the guesswork from API debugging, accelerated our development velocity by over 40%, and built a production-grade monitoring platform with confidence that every endpoint was thoroughly validated and demo-ready.

Challenges we ran into

  1. MongoDB Connectivity Issues
    From your recent conversations, the project has struggled with MongoDB connection failures. The server is designed to start even without a database (server will start without database functionality), but this means the core monitoring features (ping results, analytics, targets) silently fail. Misconfigured .env or unreachable MongoDB instances have been a recurring pain point.

  2. Authentication Bugs
    There was a recent syntax error in auth.js
    (line 92) that broke the auth logic. JWT-based authentication is central to the project — every protected route depends on
    verifyToken.js
    — so any auth breakage cascades across the entire API.

  3. API Tester ↔ Monitoring Integration
    Getting endpoints tested via the API Tester component to automatically appear as monitoring targets on the dashboard was a significant integration challenge (conversation "Enhancing API Tester"). Bridging the gap between the apitest route and the targets route required careful coordination.

🟡 Architectural/Technical Challenges
4. No Client-Side Routing

App.jsx
uses simple conditional rendering (login vs. dashboard) without any router (e.g., React Router). As features grow (API Tester, Traffic Dashboard, etc.), this will become harder to maintain and deep-linking/bookmarking won't work.

  1. CORS Wide Open js app.use(cors()); // Allow all origins (for hackathon dev)
    This is fine for a hackathon demo, but is a security risk for any production deployment.

  2. Aggressive Pinger Cron
    The default cron is */30 * * * * * — pinging every 30 seconds. For many targets, this could overwhelm the DB with PingResult documents and generate noisy console logs. There's no data retention/cleanup strategy.

  3. No Test Suite
    The project has zero automated tests — no unit tests, no integration tests. Auth logic, pinger engine, and analytics calculations are all untested, making regressions (like the auth.js syntax bug) easy to introduce.

  4. mongod Package in Client Dependencies Both client/package.json and root package.json list mongod as a dependency — this is a MongoDB server binary wrapper and has no business being in a React frontend bundle. It's likely an accidental install.

  5. No Rate Limiting or Input Validation API routes like /api/auth/register and /api/apitest accept user input without rate limiting or thorough validation, leaving the backend vulnerable to abuse.

  6. Single-File Server Entrypoint index.js is 150 lines and growing — it handles app init, route mounting, health checks, manual ping triggers, error handling, seeding, and cron scheduling all in one file. This will become harder to manage.

Tracks Applied (1)

Requestly

Hi everyone, our project is cloudvigil, a cloud-native API monitoring hub. To build a reliable tool that monitors other ...Read More

Requestly

Discussion

Builders also viewed

See more projects on Devfolio