Back to blog

8/12/2026 | 2 min read

How I Built an Automated ISP Billing & MikroTik Router Management System

How I Built an Automated ISP Billing & MikroTik Router Management System

Node.jsNext.jsTypeScriptMikroTikFullStackWebDevelopmentBackendRouterOSAutomationISP
How I Built an Automated ISP Billing & MikroTik Router Management System

How I Built an Automated ISP Billing & MikroTik Router Management System

Managing Internet Service Provider (ISP) operations manually is slow, error-prone, and financially inefficient. Between handling PPPoE subscriber credentials, managing bandwidth queues, and tracking monthly payments, small to mid-sized ISPs face massive administrative overhead.

To solve this problem, I engineered a full-stack ISP automation platform that directly connects web software with live MikroTik networking hardware.

The Core Challenges

  • Manual Service Disconnects: When customers miss payment deadlines, manually disabling users in WinBox takes time and leads to revenue leaks.
  • Desynchronized Router State: Database subscriber status often desynchronizes from real router active sessions.
  • Telemetry & Analytics: Lack of centralized visibility into router CPU load, active connections, and real-time revenue stats.

Key Architectural Highlights

1. Real-Time MikroTik Integration

Using node-routeros, the backend API server establishes direct socket connections with MikroTik routers (port 8728). This allows programmatically managing PPPoE secrets, active users, and updating bandwidth rate-limits dynamically without manual router login.

2. Automated Lifecycle & Cron Jobs

Implemented robust background schedulers using node-cron to execute automated operational workflows:

  • Automated monthly invoice generation for all active subscribers.
  • Instant auto-disconnect for overdue accounts upon grace period expiration.
  • Instant auto-reconnect upon payment confirmation.

3. Real-Time Telemetry Dashboard

Developed with Next.js 14, TypeScript, Tailwind CSS, Radix UI, and Recharts. The dashboard provides real-time telemetry into router CPU health, online user counts, dynamic bandwidth monitoring, and monthly collection metrics.

Tech Stack Overview

  • Backend: Node.js, Express, TypeScript, Prisma ORM, RouterOS API, Node-Cron
  • Frontend: Next.js 14, React, Tailwind CSS, Radix UI, Recharts
  • Database & Auth: PostgreSQL / MySQL, JWT Authentication, Role-Based Access Control

Conclusion

Building this platform bridges the gap between modern full-stack web software and real-world networking infrastructure. It eliminates manual ISP administrative work, secures revenue collection, and delivers real-time router control.

Comments

0 replies

0/2000 characters

  • No comments yet. Be the first to share your thoughts.

About Me

Rahim Badsa is a Full Stack Web Developer from Bangladesh, specializing in MERN, Next.js, Shopify, and WordPress for practical business-focused web products.

Downloads

Contact Info

Lalmonirhat, Bangladesh

[email protected]

+880 1877-104723

FAQ

Who is Rahim Badsa?

Rahim Badsa is a Full Stack Web Developer and Shopify App Developer from Bangladesh who builds production-ready web solutions using MERN, Next.js, Shopify, and WordPress. He is also the Co-founder of Rank Fast LLC and works as a Web Developer at Trinet Digital Agency.

What kind of developer is Rahim Badsa?

Rahim Badsa (also spelled Rahim Badsa, Rahim Badsha, or Rohim Badsa) is a Bangladeshi full stack web developer specializing in MERN stack, Next.js, Shopify, and WordPress development. He has delivered 100+ projects including SaaS dashboards, Shopify custom apps, WooCommerce stores, and SEO-optimized business websites.

What technologies does Rahim Badsa use?

Rahim Badsa works mainly with the MERN stack (MongoDB, Express, React, Node.js), Next.js, TypeScript, Shopify Liquid, and WordPress, alongside Tailwind CSS, PostgreSQL, Prisma, Docker, and modern frontend tools. As a full stack developer, he handles both frontend UI and backend API development, database design, deployment, and technical SEO.

Is Rahim Badsa available for freelance or remote work?

Yes. Rahim Badsa is available for freelance, contract, and fully remote collaboration with clients worldwide. Whether you need a Shopify developer, MERN stack developer, Next.js developer, or WordPress developer, he can help. You can reach out through the contact section on this portfolio or via LinkedIn.

Rahim Badsa Copyright 2026. All rights reserved.