RealDevSquad / RealDevSquad/website-backend

Art Feature API Improvements

Open
#545 2 comments 0 reactions 1 assignee View on GitHub

@RahulGoyal-tech is already working on this.

Since Mar 25, 2022.

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

Description

We are having API /arts/user/self for getting all the arts that we created or own. But what if we want to see other people's arts as well, there should be /arts/user/:userId instead of /arts/user/self

  • Setup backend in your local system
  • Create route /user/:userId in routes/arts.js
  • Create controller getUserArt in controllers/arts.js
  • Create model fetchUserArt in models/arts.js
  • Write integration test

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.