Skip to content

created user schema, closes #9#17

Merged
ayshadogo merged 1 commit intoDfunder:mainfrom
Caritajoe18:main
Mar 2, 2026
Merged

created user schema, closes #9#17
ayshadogo merged 1 commit intoDfunder:mainfrom
Caritajoe18:main

Conversation

@Caritajoe18
Copy link
Copy Markdown
Contributor

Creates a user mongoose schema with a pre-save hook to hash the password and a method to compare the password with bcrypt.
Git ignored the coverage generated by the Jest test.
closes #9
Screenshot 2026-03-02 at 10 16 13 AM
Screenshot 2026-03-02 at 10 15 58 AM

@ayshadogo
Copy link
Copy Markdown
Contributor

Nice Work @Caritajoe18

Thank you for your contribution

@ayshadogo ayshadogo merged commit 735ada3 into Dfunder:main Mar 2, 2026
3 checks passed
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.

Create User Mongoose Model

2 participants