Eugene Olok (@eugene_olok) header
Eugene Olok (@eugene_olok) profile picture

Full Stack Developer | React · Node.js · Python | Building from Uganda | Open to remote work

Uganda, Kampala.
Joined December 2020
Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)Photo by Eugene Olok (@eugene_olok)
Eugene Olok retweeted
🚨🚨🎙️| Hollywood actor Damson Idris: "I wanted to be a footballer. I played up until the age of 18, and then I remember seeing Lionel Messi play. He was around 23 years old. And I was like, 'I'm never going to be as good as this guy.' So Lionel Messi is the reason for my retirement in football. "When I see him one day, hopefully I’m blessed to meet him, I’m going to tell him that he’s the reason why I quit football, because he was so good."
125
4,856
104
46,096
1,718,659
Error handling is centralized. One place. One shape. Zero leaks. Real engineers know: consistency > cleverness.
16
Login endpoints? Not brute-forced. Signup? Not botted. Password reset? Not spammed. Verification flows? Not abusable. rate-limit like a paranoid senior engineer that’s been burned before.
13
Every route now goes through a military-grade entry pipeline: rate limit → token verify → permission check → async handler → controller If your backend doesn’t have this, it’s already leaking.
9
Building a health-care e-commerce has forced me to rethink what “production-ready” actually means. Not just writing code. Not just making it work. But engineering a backend like it’s going to be attacked, scaled, and audited from day one.
10
My ideas sometimes!
10
Day 3. Yesterday I built the config foundation of a production health platform.
2
7
Challenges: → Cookie clear options silently failing → MongoDB handlers duplicating on reconnect → Rate limits resetting on server restart Foundation is solid. Building in Uganda. On a Samsung. #buildinpublic #developer #Uganda
1
36
What got done: → Startup validation that rejects weak secrets → Tiered cookie security for auth tokens → CORS with HTTPS enforcement → Rate limiting per user ID not just IP → MongoDB retry with exponential backoff
11
Just finished a deep audit of my backend… and wow 😭 If I want this app to reach real scale, some things need to change ASAP. Here’s the truth.
12
16
This is the year I rebuild it the right way. Clean architecture, air-tight security, future-ready scaling. Let’s work. 🚀🔧
8
Bottom line The app works… …but it’s not operating at a level where clients would ever trust it.
8
No automated tests One change → entire system could break. Needs unit + integration tests.
7
Zero monitoring No logs, no health checks, no alerts. Can’t scale blind.
7
Input sanitization missing Risk of NoSQL injection + XSS. Needs proper sanitizers.
11
No rate limiting Login endpoint is wide open. Perfect for brute-force attacks.
8
File uploads aren’t hardened Multer allows anything → potential malware entry point.
7
Error handling is inconsistent Some controllers return JSON, some throw raw errors. No global error middleware.
6
Roles exist but permissions don’t Anyone with the wrong route can cause damage. Need real RBAC (role-based access control).
7
Auth isn’t production-grade No refresh tokens. No token rotation. Weak session rules. This won’t survive real-world traffic.
7