dinner_dash's People
dinner_dash's Issues
An authenticated users, should be able to do everything a guest can
Ensure that authenticated users can still perform all the basic actions as guests
Fix seed file categories and descriptions
Currently salad and dessert items are mixed up
Create README
Specify all versions of every gem
Create cart
remove logic from views
create category new, edit
As a user, when I click checkout I get taken to a page that says order summary
on user-spec-branch
build user factory with factory girl
add cart checkout button
guest user: cannot dependent on user_path and order_path
-view another's private data
-checkout without logging in
-view the administrator screens
-make themselves and admin
Create seed file
create admin model
Write tests and a validations for admin model
create item new edit
Admin not allowed to modify data other than their own
Guest User: edit cart specs
remove item
increate item
log in, does not clear cart
As a user, I can see the ordered items from my cart on the order summary page - items with quantity ordered and line-item subtotals
Create CartItems Controller
Authenticated Admin can: Retire a item from being sold, which hides it from browsing by any non-administrator
SignUp/Login/Logout for users
Admin Dashboard: Access details of an individual order, including:
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
Add admin scope for controllers/routes
User can see past orders
Each past order link should to full order info
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"
As a user, I should see unique images for each item
checkout button for guests
fix anchor links on menu page so that they stay beneath the menu bar
add admin? methods to user and admin models
fix guest_view_spec with item and category factories with factory girl
routes for admin dashboard
Authenticated Admin can: Create item listings including a name, description, price, and upload a photo
Add factory girl and DB cleaner gems
Float menu sidebar on page when scrolling down
set up nav bar
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.
As a guest, I should see menu items
Browse all items and by category
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
Guest User: view cart
add item to cart and view cart
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.
update item model tests
Order data validation
An order must belong to a user
An order must be for one or more items currently being sold
Authenticated Admin can: Assign items to categories or remove them from categories.
As a user, they cannot perform any admin actions
-Users cannot see another user's data (current order, etc).
-Users cannot view admin screens
-Users cannot use admin functionality
-User cannot change their role to admin
fix order spec
update user model tests
Authenticated Admin can: Create named categories for items (eg: "Small Plates")
add item factory with factory girl
checkout button for cart
delete
add scope for items model that filters for active items only?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.