Skip to content

Conversation

@dwivediprashant
Copy link

@dwivediprashant dwivediprashant commented Jan 7, 2026

Issue: #111


Video preview

echo.1.mp4

PR description

  • User auth implemented
  • Password is hashed using bcrypt and stored in DB
  • Proper auth error handled for wrong and empty password entered by user
  • No mock data used all data is real-time
  • Local testing is done without any error or terminal warning
  • Added .env.example for other developers reference

DB user model stored as below

 {
    _id: ObjectId('695ed37877355804dd4964e6'),
    username: 'amit',
    password: '$2b$10$pjeBWD.KzWyzsuz6ywSIZuDCZk3xUgd40elKw.JORdJTIL/m8GOe2',
    connectedAt: ISODate('2026-01-07T21:43:20.923Z'),
    isOnline: true,
    __v: 0
  }

Chat clip

image

@OpenGitBot
Copy link

Hey @dwivediprashant

Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.

Thanks for contributing in OpenCode'25 ✨✨!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants