Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPGO-12] implement register #3

Merged
merged 13 commits into from
Sep 20, 2023
Merged

[SPGO-12] implement register #3

merged 13 commits into from
Sep 20, 2023

Conversation

goodchirapat
Copy link
Contributor

User service should be correct.
[user password is hashed with bcrypt (12 salt) it should work fine with owen's login (bcrypt.compare)]
Im not sure about the controller, proto , GRPC thing but try to copy as much schema from owen's auth

I dont realy sure about proto thingy but the user service to create new User in Database should be correct. (password is hash with bcrypt 12 salt added)
.env.example Outdated Show resolved Hide resolved
src/proto/user.proto Outdated Show resolved Hide resolved
src/repository/user.repository.ts Outdated Show resolved Hide resolved
src/user/user.controller.ts Outdated Show resolved Hide resolved
src/user/user.service.ts Outdated Show resolved Hide resolved
src/repository/user.repository.ts Outdated Show resolved Hide resolved
src/repository/user.repository.ts Outdated Show resolved Hide resolved
src/user/user.service.ts Outdated Show resolved Hide resolved
src/user/user.service.ts Outdated Show resolved Hide resolved
Copy link
Member

@Nitiwat-owen Nitiwat-owen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please attach some example request/response

src/proto/auth.proto Outdated Show resolved Hide resolved
@goodchirapat goodchirapat merged commit b0e60aa into dev Sep 20, 2023
1 check 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.

2 participants