MichaelBluetooth / MichaelBluetooth/ic-reuse-client
Homework: Listings should not require an image
Nobody has claimed this yet.
- 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
- 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
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