-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/backend/create user #359
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit updates the user model in database_test.go and adds new request structs: UserRequest, DetailsRequest, NotificationRequest, and RequestIP. The changes include adding new fields and binding validations to the structs. Refactor the user model and add new request structs
This commit adds new API endpoints for creating users, fetching IP information, adding IPs, and removing IPs. The `CreateUser` function handles the creation of a user in the database, while `GetIPInfo`, `AddIP`, and `RemoveIP` functions handle fetching IP information, adding IPs, and removing IPs respectively.
This commit adds new endpoints for creating users and managing IP addresses. The `CreateUser` function is responsible for creating a new user in the database, while the `AddIP` and `RemoveIP` functions handle adding and removing IP addresses for a user respectively. These changes enhance the functionality of the application by providing the ability to manage user accounts and their associated IP addresses.
waveyboym
added
the
type: bringing changes downstream
Just bringing changes downstream
label
Sep 14, 2024
1 task
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #359 +/- ##
============================================
+ Coverage 69.01% 88.81% +19.80%
============================================
Files 54 11 -43
Lines 5712 3192 -2520
Branches 84 0 -84
============================================
- Hits 3942 2835 -1107
+ Misses 1717 313 -1404
+ Partials 53 44 -9 ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Bringing changes downstream
Fixes # (issue)
Type of change
Please delete options that are not relevant.
N/A
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
N/A
Checklist: