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

Feat user registration #50 #51

Closed
wants to merge 10 commits into from
Closed

Conversation

maxCastro1
Copy link
Contributor

Implement User Registration Feature

This pull request implements the user registration feature for the e-commerce platform. It allows users to sign up as either a vendor or a buyer and captures relevant information such as name, email, password, and any additional details required for each user type.

What does this pull request do?

  • Implements a user registration API endpoint.
  • Validates user input (e.g., email, password, user type).
  • Checks for existing users (email uniqueness).
  • Hashes and stores user passwords securely using bcrypt.
  • Creates user records in the database with appropriate user types (vendor or buyer).
  • Returns appropriate success or error responses.

@maxCastro1 maxCastro1 closed this May 1, 2024
@maxCastro1 maxCastro1 deleted the feature-user-registration branch May 1, 2024 16:12
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.

1 participant