📚

Billexa — The Rise of a Secure Indian Billing SaaS

Complete Documentary v4.0 31 May 2026 Made in India 🇮🇳 🎬 Cinematic Edition

📋 Table of Contents

🆕 Latest Security Updates — June 2026

FeatureStatusDetails
🚫 Console Blocker✅ ActiveFetch + XHR blocked from browser console
🔑 CSRF Protection✅ Active7 auth routes secured (Register, Login, Forgot, Change Password, Verify, Reset, Delete)
🔐 Single Session✅ ActiveAuto-kick old device on new login with premium UI alert
💾 Dual MongoDB Backup✅ ActiveReal-time backup every 6 hours to Singapore region
🛡️ Server Header Hidden✅ ActivehidePoweredBy + removeHeader for Express
📝 Legal Docs Updated✅ ActiveTerms (32 sections), Privacy (26 sections), FAQ (21 categories)
🔒 Session Status API✅ ActiveReal-time session validation endpoint
🐍 Python Scanner✅ ActiveComplete security audit script (94% score)
Security Score: 94% — EXCELLENT! (0 critical fails, 31/33 checks passed)

💾 Dual Database Backup System

DatabaseProviderRegionPurpose
🗄️ Main DBMongoDB Atlas (AWS)Mumbai 🇮🇳Live production data
🗄️ Backup DBMongoDB Atlas (AWS)Singapore 🇸🇬Auto-backup every 6 hours

📦 Collections Backed Up (19 Total)

User, Product, Invoice, Order, MarketplaceProduct, MarketplaceChat, MarketplaceMessage, Ticket, SellerKYC, Referral, Review, Feedback, Expense, Announcement, TelegramUser, ProductView, ProductImpression, SellerAnalytics, AIUsage

🛡️ 5-Layer Backup Strategy

#LayerTypeScheduleLocation
1🗄️ Main MongoDBPrimary DBReal-timeMumbai (AWS)
2🗄️ Backup MongoDBAuto-syncEvery 6 hoursSingapore (AWS)
3📦 GitHub Repo 1Code + DataDailyCloud
4📦 GitHub Repo 2MirrorDailyCloud
5☁️ MEGA CloudArchiveDaily20GB Free
3-2-1 Rule Complete: 3 copies, 2 different cloud providers, 1 off-site location. Even if Mumbai burns, Singapore has your data!

💥 Before Billexa — The Struggle

Billexa wasn't built for corporations first… It was built for small businesses trying to survive digitally.
— The Vision

India has 6.3 crore small businesses. Most still use notebooks and calculators. The digital divide was real — and it hurt.

🧑‍💻 Founder Journey — Alone But Not Broken

2023
First laptop. ₹35,000. Second-hand. But it worked.
2023
First coding error. 4 hours to fix a comma.
2024
Sleepless nights. Coffee, terminal, Stack Overflow.
2025
Building alone. No team. No investors. Just vision.
"Every line of code was written after midnight. This wasn't a job — it was obsession."

⚔️ The Breaking Point — Failure is Not Final

Every failure taught something. Every crash made the system stronger.

Today, Billexa handles thousands of requests per day with 99.9% uptime.

📈 Growth Timeline — From Zero to Ecosystem

2024
🚀 Idea started — First line of code
2025
✅ Billing + Inventory — IN/OUT mode, PDF invoices
2025
🤖 Telegram Bot — Remote business management
2026
🛒 Marketplace — KYC, Trust Score, Orders
2026
🧠 AI Assistant — Gemini + Llama
2026
🔐 Backend Rate Limiting — 5-100 tiers
2026
💾 3-2-1 Backup — GitHub + MEGA + Local

1. Project Overview

Project NameBillexa — Smart Billing Software
URLhttps://billexa.in
OwnerShiv Kumar
LocationArwar, Ajmer, Rajasthan
Status🟢 Production Active

2. Tech Stack

CategoryTechnology
BackendNode.js + Express.js
DatabaseMongoDB Atlas
HostingRender / Ubuntu VPS
StorageCloudinary
SecurityHelmet.js, express-rate-limit, 2FA
BackupGitHub + MEGA (20GB free)

3. Rate Limiting System — Complete Protection

Billexa implements a comprehensive multi-layered rate limiting system to prevent brute force attacks, DDoS, API abuse, and spam submissions. Rate limits are applied in order — specific routes first, global catch-all last.

#LimiterLimitWindowRoutes Protected
1🔐 Auth Limiter5 requests15 minutes/api/login, /api/register, /api/forgot-password, /api/reset-password, /api/verify-2fa, /api/change-password, /verify-2fa, /setup-2fa, /change-password
2📁 KYC Limiter3 requests1 hour/kyc/api/submit, /api/profile/upload-photo, /api/chat/upload
3🎫 Support Limiter5 requests30 minutes/api/ticket/create, /api/feedback, /support, /feedback
4⚠️ Delete Limiter2 requests1 hour/api/delete-account, /delete-account
5🌐 API Limiter100 requests15 minutes/api/*, /marketplace/api/*, /orders/api/*
6🛡️ Global Limiter50 requests15 minutesALL remaining routes (Last line of defense)

🎯 Key Features

⚙️ Implementation Details

Security Philosophy: Rate limiting is not just about preventing abuse — it's about ensuring fair access for all genuine users while protecting the platform.
— Multi-Layer Defense Strategy

4. Features List

5. Security Measures

LayerTechnologyStatus
Rate Limitingexpress-rate-limit (6 tiers)✅ Active
2FAspeakeasy TOTP + QRCode✅ Active
Password Hashingbcrypt (10 rounds)✅ Active
HTTP HeadersHelmet.js✅ Active
XSS ProtectionCustom sanitizer✅ Active
Session Securityexpress-session with MongoDB✅ Active
Note: Cloudflare was removed for simplicity. All security is now handled at the application level with full control.

6. 3-2-1 Backup Plan

LocationTypeScheduleRetention
GitHub PrimaryCloud (Auto)Daily 3:00 AM90 days + Permanent
GitHub MirrorCloud (Auto)Daily 3:15 AM90 days + Permanent
MEGA CloudCloud (Auto)Daily 3:15 AM90 days
Local BackupPhysical (Manual)As neededPermanent

✅ 3 copies, 2 different cloud providers, 1 off-site — 3-2-1 backup rule complete!

7. Emergency Contacts

RoleContact
Owner/DeveloperShiv Kumar — admin@covexa.in / +91 9351256357
Cyber Crime Indiahttps://cybercrime.gov.in
CERT-Inhttps://cert-in.org.in

🎬 Why Billexa Matters

Billexa wasn't built for corporations first…
It was built for small businesses trying to survive digitally.
— Made in India 🇮🇳 | 2024 → ∞

From a single laptop to a secure SaaS ecosystem — this is only the beginning.

🎬 Cinematic Documentary v4.0