ansopedia / user-service

The Ansopedia User Service is a backend service responsible for managing user accounts and authentication within the Ansopedia learning platform. It provides functionalities like authentication & authorization, profile management.
MIT License
5 stars 4 forks source link

Issue: Implement bcrypt for Password Hashing in User-Service #10

Closed ansopedia closed 7 months ago

ansopedia commented 7 months ago

Description:

In order to enhance the security of the Ansopedia project, it's essential to employ a robust password hashing mechanism. This issue proposes the adoption of bcrypt for hashing user passwords in the user-service module.

Objective:

Integrate bcrypt into the user-service module to securely hash user passwords before storing them in the database. Additionally, utilize MongoDB pre-hooks for further security enhancements.

Utilize MongoDB pre-hooks to automate password hashing before database insertion for added security.

src
    utils
        __test__
            password.test.ts
        password.util.ts