✅ Full stack online: Backend + AI engine + MongoDB connected (~50 user capacity).
Get the code review you'd get in a real interview. No sugar-coating. No tutorials. Just honest technical judgment.
function getUserData(userId) {
const user = users.find(u => u.id == userId);
return {
name: user.name,
email: user.email,
posts: user.posts.map(p => ({
title: p.title,
content: p.content
}))
};
}No null check. This crashes in production the moment user is undefined. Did you even test this?
Type coercion with == instead of ===. Are you writing JavaScript or playing roulette?
Direct database coupling. Why is this function responsible for data mapping? Single responsibility principle—heard of it?
O(n) lookup every time. Use a Map. This doesn't scale past 100 users.
Verdict: Would not pass review
No account required. Paste your code, get judged in 30 seconds.
This is not a learning platform. This is career insurance. If your code can't handle a harsh review here, it won't survive a real interview or a production incident. We don't teach. We expose.