Sunday Moses's Work | ContraWork by Sunday Moses
Sunday Moses

Sunday Moses

Full-stack developer

Ready for work

Sunday is ready for their next project!

Cover image for ๐Ÿšจ Your database query worksโ€ฆ
๐Ÿšจ Your database query worksโ€ฆ but itโ€™s taking 3 seconds? Before rewriting the whole backend, check your database indexes. One missing index can turn a fast query into a slow one as your data grows. Optimize the query before optimizing everything else. โšก Have you checked your database indexes recently? ๐Ÿ‘‡
4
125
Cover image for Found a bug that only
Found a bug that only happened in production. The code looked fine locally. The real problem? A missing environment variable. Lesson: Always check your production environment variables before rewriting working code. ๐Ÿ˜… Have you ever spent hours debugging something that turned out to be a simple configuration issue?
7
307
Cover image for ๐Ÿšจ A bug that looks
๐Ÿšจ A bug that looks like a frontend problem might actually be your backend. I once spent time checking UI code, only to find the real issue was an API returning the wrong data. When debugging, I always check the full data flow: Frontend โ†’ API โ†’ Backend โ†’ Database Debug the source, not just the symptom. ๐Ÿ” Have you ever found a backend bug while fixing a frontend issue?
9
11
604
Cover image for ๐Ÿšจ โ€œIt works on my
๐Ÿšจ โ€œIt works on my machine.โ€ The developer's most dangerous sentence ๐Ÿ˜‚ Your app works perfectly locally, then suddenly breaks in production. Before blaming the code, check: ๐Ÿ”น Environment variables ๐Ÿ”น Node.js versions ๐Ÿ”น Database connection ๐Ÿ”น API URLs ๐Ÿ”น CORS configuration ๐Ÿ”น Production build settings Local success โ‰  production readiness. Always test your application in an environment as close to production as possible. Whatโ€™s the funniest โ€œworks locally, breaks in productionโ€ bug you've faced? ๐Ÿ‘‡
4
11
427