Code Monkey home page Code Monkey logo

bangazon-site's People

Contributors

edwardrutz avatar edwardrz avatar

Watchers

 avatar

bangazon-site's Issues

User can select product category when selling product

Given a user is authenticated
And performs a gesture on the Sell a product hyperlink
When the product form is rendered
Then there should be a dropdown that displays all product categories

Given a user has filled out the product form, but not chosen a category
When the user clicks on the Sell button
Then the user should be alerted to select a product category

User can view all product categories

Given a user is viewing any page on the Bangazon site
When the user performs a gesture on the Product Categories hyperlink
Then the user will see a view containing a list of all product categories
And next to the category name, the number of products in that category will be displayed
And the first three products in the category will be displayed beneath each category, that are hyperlinks to the product detail

Sample
Electronics (15)
    Dryer
    HD Television
    Sony Walkman

Sporting Goods (7)
    Football
    Ice skates
    Basketball hoop

User can remove a product listing

Given the user is authenticated
When the user clicks on the My Products hyperlink in the navigation bar
Then the user will be presented with a list of products they (s)he has posted for sale

Given the list of products is presented to the user
When the user clicks the Delete button next to a posted product
Then the product for sale is removed from the system

User can view product detail

Given user is viewing any page that contains a hyperlink for a product
When user performs a gesture on the product hyperlink
Then user will be shows the product detail page containing title, description, quantity available, price/unit, and a button labeled Add to Order

Given 1+ users have purchased a product
When a user views the details
Then the quantity display should show how many are remaining, not how many were originally for sale

CREATE DATABASE

  • Review schema, compare current schema with new tasking.
  • Add additional fields if needed

User can upload a photo of the product

Given the user is uploading a product
When the user clicks "upload photo"
And selects a file
Then a thumbnail of the image will show in the Product Detail view

Seller can specify local delivery available

Given a user is uploading a product to sell
When the product form is displayed
Then the user will have an option to specify that local delivery is available
And the user can add the city to be used as a searchable field in the main application

Customer can add a product to sell

Given the user is not authenticated
When any view renders
Then the Sell a Product affordance will not be visible

Given the user is authenticated
When the user clicks on the Sell a product button in the menu bar
Then the user will be presented with a product form

Given the user can filled in all fields of the product form with valid information
When the user clicks the Sell button
Then the user will be redirected to the product detail view for that product

Given the user can filled in all fields of the product form with any invalid information
When the user clicks the Sell button
Then the user will be immediately notified with error information for each invalid value

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.