RealDevSquad / RealDevSquad/website-backend
Duplicate Level and Tags
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Currently we can create multiple tags and levels with same name and values. we should validate if the tag or level exist before creating the new document in the collection.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the tag and level document-creation entry points, then inspect how collection writes are validated. Confirm that matching names and values are rejected before insertion, and add or update tests showing duplicate tags and levels cannot be created.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend, database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100