Day 3 — Auth API 🔐
Register. Login. Logout. GetMe.
Security decisions baked in from the start:
• Refresh token in httpOnly cookie (XSS can't touch it)
• Same error for wrong email AND wrong password
• bcrypt cost factor 12
#buildinpublic#28daysofcode#fullstack#backend
Day 2 — Database schema
3 Mongoose models. 120 lines.
The detail that matters most:
passwordHash has select:false
It literally cannot appear in an API response.
Not by accident. Not ever.
#buildinpublic#28daysofcode#webdev#fullstack#backend
Building a real-time chat app in 4 weeks. From zero to deployed. 🚀
The stack:
• React Vite • Node.js Express • Socket.io • MongoDB Atlas • JWT auth •Vercel Railway
Documenting every day 👇
#buildinpublic#28daysofcode#webdev#fullstack
Day 12/28 – Kth Smallest Element in BST 🌳
Solved using Inorder Traversal to leverage BST properties.
Clean recursion, optimal traversal, and 100% test cases passed ✅
Consistency > Motivation 💻🔥
#28DaysOfCode#Day12#LeetCode#Java#DSA#BST#CodingJourney
Day 22 of 28DaysOfCode:
New month , good start
- reWatched redux lecture from namaste react . It has the most complex setup scenes I ever came across.
- worked on styling a static page with css .
- half done roadsidecoder’s password generator app. Will complete it by tom
Day 21 of 28DaysOfCode:
- solved mcr-9 @neogcamp. Was able to write all functionalities on time, but sadly, couldnt submit the work ontime, courtesy Netlify's never ending deploy issues
nevertheless, amazing experience.
thanks for the opportunity @tanaypratap 🙏 @ch_akanksha 🙏
Day 13 of 28DaysOfCode
- wrote basic polyfills for denouncing and throttling. Need to make them more generic.
- Namaste react: completed episode 10 . Class based component . No doubts the best episode of the series till now
July 10: Day 10 of 28DaysOfCode:
- read (~red) about auth0 and implemented it to one of the earlier projects, Yo-Mail.
- Authentication with social login support.(Google, github)
-Demo csb : srvj35.csb.app/
- completed ep-8 and its assignment of namaste react.
July 9: Day 9 of 28DaysOfCode
- attended a coding event , went fine, not so good.
- attended Mcr , that too didn’t go well this time .
- added css to existing projects
Will resume Namaste react from today
July 8 : Day 8 of 28DaysOfCode
- Attended machine coding round , completed the question in time .
- refactored code , fixed bugs for existing projects.
Past week went good. Only 1/7 days didn’t go as per plan. Reduced phone usage. Hope for a more consistent week ahead