Git Product home page Git Product logo

dinner_dash's People

Contributors

emilymb avatar kristaanelson avatar mikedao avatar nathanows avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dinner_dash's Issues

Admin Dashboard: See a listing of all orders with:

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"

Item Data Validation

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.

User data validation

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

Order display functionality

  • list with each item, quantity, and item subtotal
  • links to each item description page
  • current status of order
  • order total ($)
  • date/time order submitted
  • date/time order cancelled or completed (if applicable)
  • retired items should still have link to description
    -retired items should not be able to be added to a new cart.

Order data validation

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

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.