Giter Site home page Giter Site logo

dinner_dash's People

Contributors

nydrewreynolds avatar vanegomez avatar whithub avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vanegomez

dinner_dash's Issues

Admin - authentic admin user - assign/remove items to categories

As an authenticated admin user,
I should be able to assign items to categories

When I go to the index page of all items,
And I click view item,
I should see checkmark options for categories to
check/uncheck,
And I make my changes,
And I click save,

I expect to be redirected back to a page displaying list of all items.

An Admin Can View Details of an Individual Order

As an authenticated Admin
When I visit '/admin'
And I see a listing of all Orders
And I click on an Individual Order
I expect to be able to see:

  • Order Date & Date
  • Purchasers Full Name & Email
  • Each Item on the Order (linked)
  • Total for the Order
  • Status for the order

Authenticated User - log in

As an Authenticated User
when I visit root url '/dinnerdash/
and I click on login button
and I fill in my username
and I fill in my password
and I click 'Login' button
then I'm back on current page

Admin - authentic admin user - modify exisiting items'

As an authenticated admin user,
I should be able to modify item listings,

I should see an option to edit an item,
And when I click Edit Item,
I should see a prefilled form with the items'
current information,
And I edit info,
(aka edit name, description, price, and photo)

And click Update Item,
I expect to to be directed to a page displaying the item and all of it's info.

Admin - authentic admin user - create item listings

As an authenticated admin user,
I should be able to create item listings,

When I click New Item,
And fill in name, description, price, & photo,

And click Create New Item,
I expect to be redirected to a page that displays the new item and its info

Admin - CANNOT modify any personal data aside from their own

As an Administrator, I cannot modify any personal data aside from my own.

When I click on an individual order and view order purchaser details,

-- OR --

When I click on buyer information,
And get redirected to a page that has all buy info,

I should not be able to edit buyer information.

An Admin Can See All Info. From Dashboard

As a logged in Admin
When I visit '/admin'
I expect to see a dashboard where I can:
-See a listing of all orders

  • total # of orders by status
  • links for each order
  • filter orders to display by status type
    -ordered, paid, cancelled, completed
    -link to transition to a different status
    -link to "cancel" orders which are currently "ordered" or "paid"
    -link to "mark as paid" if it is "ordered:
    -link to "mark as completed" if it is "paid"
    -Access details of an individual order
  • order date & time
  • purchaser full name & email address
  • for each item on the order
    -name linked to item page
    -quantity
    -price
    -line item subtotal
    -total for the order
    -status of the order

Admin - authentic admin user - create named categories for items

As an authenticated admin user,
I should be able to create named categories,

I should see an option (button) to Create New Category,
And when I click button,
I should see an empty form where I can enter the title of the new category being made
(aka "small plates)

And click Create Category
I expect to to be directed to an index page displaying all categories.

As a logged in Auth User visit past order User should be able to go to an item page (removed from the menu) and not able to add to cart

As a logged in Auth User visit past order,
User should be able to go to an item page (removed from the menu) and not able to add to cart

when I visit '/past-orders/
then I see a link lists of my past orders
and I click on a previous order
then I'm back on '/past-orders/number-order
then I see for that order:
• a list of items with quantity ordered and line-item subtotals,
• links to each item description page
• the current status of the order
• order total price
• date/time order was submitted
• if completed or cancelled, display a timestamp when that action took place

then I click on an removed item from the menu
then I'm back on the item page
then I see :
• item description

Admin - access deets of individual order - order date/time

As an Administrator, I can also view an order "dashboard" where I can:

Click on an individual order,
Redirect to a page showing the details of that order, which include:

Order date and time
Purchaser full name and email address

For each item on the order:
Name linked to the item page
Quantity
Price
Line item subtotal

Total for the order
Status of the order

As a logged in Auth User visit past order and go to an item (existing on the menu) description page

As a logged in Auth User visit past order
User should be able to go to an item (existing on the menu) description page

when I visit '/past-orders/
then I see a link lists of my past orders
and I click on a previous order
then I'm back on '/past-orders/number-order
then I see for that order:
• a list of items with quantity ordered and line-item subtotals,
• links to each item description page
• the current status of the order
• order total price
• date/time order was submitted
• if completed or cancelled, display a timestamp when that action took place

then I click on an existing item on the menu
then I'm back on the item page
the I see :
• item description
• item link to add to cart

Logged in Auth User - visit past order

when I visit '/past-orders/
then I see a link lists of my past orders
and I click on a previous order
then I'm back on '/past-orders/number-order
then I see for that order:
• a list of items with quantity ordered and line-item subtotals,
• links to each item description page
• the current status of the order
• order total price
• date/time order was submitted
• if completed or cancelled, display a timestamp when that action took place

As a logged in Auth User visit past order User should be able to go to an item page (existing on the menu) and add item to cart

As a logged in Auth User visit past order
User should be able to go to an item page (existing on the menu) and add item to cart

when I visit '/past-orders/
then I see a link lists of my past orders
and I click on a previous order
then I'm back on '/past-orders/number-order
then I see for that order:
• a list of items with quantity ordered and line-item subtotals,
• links to each item description page
• the current status of the order
• order total price
• date/time order was submitted
• if completed or cancelled, display a timestamp when that action took place

then I click on an existing item on the menu
then I'm back on the item page
then I see :
• item description
• item link to add to cart
then I fill quantity
then I click on 'add to cart'
then I see cart increased by quantity ordered

Admin - authenticated admin user - make item avail/unavail

As an authenticated admin user,
I should be able to retire an item

When I go to the index page of all items,
And I click to view item
And I click dropdown menu to make item available or unavailable
And I click save,

I expect to be redirected back to the page displaying list of all items, unavailable items in red/separated from available items.

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.