As a user
I want to be able to submit my offering for the selected starship
so that it appears on the marketplace and my selling list
Description
Acceptance criteria
[ ] There is a submit button underneath the new offer form
[ ] after clicking, the starship will be added to the "My selling list" and the "Marketplace"
and will no longer be visible in the "My collection" list
[ ] after submitting the user will be directed to the "My selling list" page where the user can see the new offer
Tasks
[ ] create feature branch submit-offer
[ ] create the api.js in the library
[ ] apply the post method inside api/listings
[ ] write the on submit function for new-offer [id]
This user story should be merged with the previous one. Your feature is to offer a starship for sale. This includes specifying a price and to submit, in order to create a new offer.
Value proposition
As a user I want to be able to submit my offering for the selected starship so that it appears on the marketplace and my selling list
Description
Acceptance criteria
Tasks