Skip to content
New issue

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

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

Already on GitHub? # to your account

Feat/role #32

Merged
merged 59 commits into from
Nov 16, 2024
Merged

Feat/role #32

merged 59 commits into from
Nov 16, 2024

Conversation

zulfikarrosadi
Copy link
Owner

No description provided.

zulfikarrosadi and others added 30 commits September 26, 2024 06:52
my schema is using big int for primary key, but JSON.stringify doesn't know how to convert bigint to json
id is db generated so i create auth token before saving user data to database to reduce db call
change user id type from number to bigint following db schema file
user registration flow now will create the auth token and otp first
then it will save user data, auth token, and otp at once
this will reduce db call overhead
because we remove userId in token payload
Copy link

vercel bot commented Nov 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
juadah-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 6:19pm

@zulfikarrosadi zulfikarrosadi merged commit 26fdd44 into dev Nov 16, 2024
3 checks passed
@zulfikarrosadi
Copy link
Owner Author

close #16

@zulfikarrosadi zulfikarrosadi deleted the feat/role branch November 17, 2024 02:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant