RealDevSquad / RealDevSquad/website-backend
Art Feature API Improvements
Open
@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
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.
Assessment
This issue has not been assessed yet.