MichaelBluetooth / MichaelBluetooth/ic-reuse-client

Homework: Listings should not require an image

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficulty-1 homework
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

- As a user creating a listing, I should not be required to upload an image.
- As a user viewing a listing, if no listing image is provided, a default image should be displayed

NOTES:
- There is a `no-photo.jpg` in the `assets` folder that can be used
```

```
- The API call to create a listing without an image is:
```
POST /api/listings
BODY
{
"name": "This is the post",
"description": "The is a description of the post. It contains details about it.",
"price": 42,
"tags": [
"tag1",
"tag2",
"tag3",
"tag4",
"tag5"
]
}
```

Contributor guide

No contributing guide indexed for this repository

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 locating the listing creation form and the listing display entry point, then trace the POST /api/listings request to see how image data is currently handled. Use assets/no-photo.jpg when a listing has no image, allow creation without an upload, and verify both creation and display behavior with the available project checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.