Skip to content

User Stories

Kyle Flores edited this page Jul 8, 2024 · 14 revisions

Products

View and Search

  • As a user and guest I want to be able to search specific products in the section I have currently accessed.
    • I want to search for products that are for sale and inspect for more details

      • Search on the /products page to view all products
    • As a user I want to see and manage all products I have posted

      • View your products on /user/products. Displays a list details briefly all of your products with links to their pages, each having buttons to edit or delete a product
    • As a guest and user, I want to see more details on the product I like

      • View products in detail on the /products/:productId page
    • As a user, I want an immediate transaction on an item or to add it to my cart

      • If immediate, a button on the detail page will send a request if anymore are in stock. If so, a logged in user will have a new transaction made for one copy of the item. If out of stock or not enough in stock, an alert will appear to notify the user
      • If add to cart, will add the item amount to the cart in the local storage.

Creation

  • As a user I want to be able to sell my products for a profit.
    • I want to make a profit on collector and not in production items
      • Fill out a form on the /products/new page to post a product

Updating

  • As a user I want to update the products I have for sale, and adapt to a changing market and provide previously missing info.
    • This way I can change the price if it turns out my item is rarer than I thought.
      • Autofill a form on the /products/:productId/edit if the user is the owner redirect if not or display an error messsage stating they are not the owner on that page

Deleting

  • As a user I want to be able to delete a product I have for sale before it is sold.
    • This way I can remove a product if I change my mind
      • Will be accessed via a button next to update, using a modal prompt to verify if the user wants to delete the product post.

Articles

View and Search

  • As a user and guest I want to be able to search for specific articles in the section I have currently accessed.
    • View all articles as a guest and user
      • Viewed in a searchable format on /articles
    • View article page as a guest and user
      • View a specific article at /articles/:articleId
    • View all articles you own on the user profile page
      • View at the user profile at the link of /user/articles Creation
  • As a user I want to be able to post new news about products and games online.
    • Make an article as a user
      • Make an article at /articles/new and redirect to /articles/:articleId if a successful operation

Updating

  • As a user I want to update the products I have for sale, and adapt to a changing market and provide previously missing info.
    • Update an article you own as a user
      • Edit an article at /articles/:articleId/edit

Deleting

  • As a user and guest I want to be able to search specific products in the section I have currently accessed.
    • Delete an article you own as a user
      • Handled via a button on the user profile page when managing your articles

Clone this wiki locally