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

Create User Schema #27

Merged
merged 7 commits into from
Feb 3, 2024
Merged

Conversation

spaykel
Copy link
Collaborator

@spaykel spaykel commented Jan 27, 2024

Developer: Sameer Paykel

Closes #7

Pull Request Summary

Created User Schema in database folder

Modifications

Modified UserSchema, gitignore and .env

Testing Considerations

Tested the UserSchema to make sure it's a good user schema :)

Pull Request Checklist

  • Code is neat, readable, and works
  • Comments are appropriate
  • The commit messages follows our guidelines
  • The developer name is specified
  • The summary is completed
  • Assign reviewers

Screenshots/Screencast

image

Copy link

gitguardian bot commented Jan 27, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
9400057 Triggered MongoDB Credentials 4ea06c1 .env View secret
9400057 Triggered MongoDB Credentials 9e38814 .env View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@spaykel spaykel force-pushed the sammy-create-user-schema-in-mongodb branch from 36d4674 to 9e38814 Compare January 27, 2024 21:47
@javalosr2004
Copy link
Collaborator

Hey Sammy, can you add typings for the schema?

@javalosr2004 javalosr2004 self-requested a review February 3, 2024 21:19
@javalosr2004 javalosr2004 merged commit 01110b1 into main Feb 3, 2024
1 of 4 checks passed
@javalosr2004 javalosr2004 deleted the sammy-create-user-schema-in-mongodb branch February 3, 2024 22:01
javalosr2004 added a commit that referenced this pull request Apr 2, 2024
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 Schema In MongoDB
2 participants