Recent posts from all communities
this web app looks great but still need imporvement

Having fun Night at Rio

I was writing a middleware function in an Express.js app that was supposed to check for a valid token before letting requests through. Everything looked fine — until every protected route started returning 200 OK even without a token. Why? 😑 Because I forgot to put a return before the res.status(401)... line. So next() was being called regardless. 💡 Lesson Learned: Always double-check control flow in middleware. Never trust yourself without tests. Add linting rules to catch missing returns when res is already sent.

Festival to enjoy korean theme

Image is not looking good
this looks nice
hello there
[deleted]
this is nice
its working or not
comment on next js project
Guys come fast and join the party
[deleted]
Hello there
yes you are right
this is the first comment
oh great someone checked my project
this is nested comment
only 5 hrs left guys
[deleted]