FULL-STACK & SECURITY
Hosting Billing System
- Tech stack: Node.js, Express, SQLite, Stripe, Raspberry Pi (PM2)
- Overview & architecture: I designed and built a full-stack billing and client account platform for my freelance web design business. Each client has their own account where they can manage their subscription and pay their balance. It runs on a Node.js and Express backend on my own self-hosted hardware.
- Software engineering & code quality: I used Claude to help build it. I also ran audit tests in VS Code and checked the code for bugs myself, instead of accepting what the AI produced as is.
- Defense-in-depth security: I hardened the application layer with Argon2id password hashing plus a server-side pepper, a Content Security Policy to prevent XSS, and built-in brute-force protection. I also have TOTP 2FA enabled as another layer in case someone gets past a password.
- Infrastructure & perimeter hardening: Fail2ban watches the logs and bans an IP after three
failed attempts, in case someone gets around the built-in protection. At the network edge,
Cloudflare blocks requests for sensitive files such as
.env.
Client portal