RealDevSquad / RealDevSquad/website-backend

Create a new API for profile diff changes, and make the patch api for `user/:userId` generic

Open
#1,143 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently, our user:userId API is used to replace the user object completely, we should create another API for updating the user object based on profile differences, and make the user:userId API generic to update anything in the user object

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.

Research direction

Start by tracing the existing user:userId API and its PATCH handling to understand how complete user replacement currently works. Clarify the expected profile-difference payload and how the generic update API should behave; done means both endpoints have defined update semantics and coverage for the intended user-object changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.