RealDevSquad / RealDevSquad/website-backend

username contains @ in the value in some user data

Open
#965 3 comments 0 reactions 1 assignee View on GitHub

@Abhay5855 is already working on this.

Since Jun 26, 2023.

backend
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Username contains @ in the value in some user data

Overview

some users have user names as username: "@iambatman"

Screenshot 2023-03-25 at 3 02 49 AM Screenshot 2023-03-25 at 3 02 44 AM

some social Ids also have @ in it

Screenshot 2023-03-25 at 3 05 50 AM Screenshot 2023-03-25 at 3 07 53 AM

User stories

  • During Signup the user should not be allowed to save usernames that include '@' in them.
  • If the username or social Id contains '@' show error message.

Acceptance Criteria

When generating a username, there are several guidelines you can follow to ensure it meets certain criteria. Here are some general rules to consider when generating a username:

  • Length: Choose a username that is between 4 and 20 characters long. This range provides a good balance between being too short and too long.
  • Alphanumeric Characters: Include a combination of letters (both uppercase and lowercase) and numbers in your username. For example, you can use a mix of "a-z," "A-Z," and "0-9" characters.
  • Avoid Special Characters: While some platforms allow special characters in usernames, it's generally a good idea to avoid them. Stick to letters and numbers to ensure compatibility across different platforms.
  • No Spaces: Most platforms do not allow spaces in usernames, so make sure your username is a single word or utilizes underscores or hyphens to separate words.
  • Unique: Try to create a username that is unique and not easily confused with others. This helps to avoid confusion and ensures that your username stands out.
  • Meaningful and Memorable: Aim for a username that is meaningful to you or relates to your interests. It should also be memorable for others. Avoid using random combinations of characters that hold no significance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.