Git Product home page Git Product logo

dinner_dash's People

Contributors

dsynergy avatar ssgoldwater avatar treyx avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dsynergy

dinner_dash's Issues

order model validations

An order must belong to a user
An order must be for one or more items currently being sold

authenticated user views past order details feature

As an authenticated user,
When I visit my past orders
And I click on a specific past order
I should see:
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
if any item is retired from the menu:
they can still access the item page
they cannot add it to a new cart

authenticated admin cancels order feature

As an authenticated admin,
When I access the admin dashboard,
I should see a link to the admin order dashboard,
And I click on an individual order,
I can cancel that individual order.

authenticated admin views admin dashboard feature

As an authenticated admin,
When I view the admin dashboard,
I should see:

the total number of orders by status
links for each individual order
filter orders to display by status type (for statuses "ordered", "paid", "cancelled", "completed")
link to transition to a different status:
link to "cancel" individual orders which are currently "ordered" or "paid"
link to "mark as paid" orders which are "ordered"
link to "mark as completed" individual orders which are currently "paid"

authenticated admin creates categories feature

As an authenticated admin,
When I visit the admin dashboard,
And I click the button 'Add a Category',
I see the New Category page,
And I fill out the form correctly,
The category will be added,
And I will see a list of existing categories

user model validations

A user must have a plausibly valid email address that is unique across all users
A user must have a full name that is not blank
A user may optionally provide a display name that must be no less than 2 characters long and no more than 32

item model validations

An item must have a title, description, and price.
An item must belong to at least one category.
The title and description cannot be empty strings.
The title must be unique for all items in the system.
The price must be a valid decimal numeric value and greater than zero.
The photo is optional. If not present, a stand-in photo is used.

unauthenticated user can log in

As an unauthenticated user,
When I click "Log In"
I should see a Log In form,
And when I fill in correct user details,
I should see the User Dashboard

authenticated admin views individual orders feature

As an authenticated admin
When I access the admin dashboard
And I click on an individual order,
I should see:

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

update readme

more descriptive readme with link to project on heroku

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.