+. Shop owner can enter products into the system. +. Shop owner can manage (edit characteristics) the products and view them. +. Buyer can view all items and access their details on individual product pages.
- STRETCH ONLY: Advanced Tutorial with Redis & Sidekiq, as an alternative to Delayed Job.
- STRETCH ONLY: Consider using OAuth with Gmail/Facebook for your user model.
- Buyer can filter products by price, category, reviews, features, etc.
- Buyer can search for a product by key words.
- Products are divided into categories.
- Buyers must be authenticated.
- Buyer can add items to a shopping cart.
- Buyer can pay for products online.
- Buyer can see number of items left on hand (in stock).
- Buyer can create an account (profile page) of his own.
- Buyers can review products.
- Buyer can see reviews for products left by other buyers.
- Buyer can contact shop owner by e-mail.
- What kind of product?
- Where (international, local)?
- What is target audience?
- Name
- Price
- Brand
- Description
- Number of products on hand
- Discount
SHOPPING CART Checkout - When the user clicks checkout, the number of items in stock should be reduced by the amount that was purchased. - When a user clicks checkout, they should receive an email detailing the purchase.
TESTING
- More testing if possible
- Add tests to ensure the behavior above e.g., when an item is out of stock, the ‘Add to cart’ button is disabled.
- Add feature tests for the shopping cart itself and tests for any new models you created
Inventory Management
PROFILE PAGE
1.session - create migrations 2.create model relationships 3.updateseed file 4.
### DB SCHEMA For First Iteration
![alt tag](/schema/db_schema_mvp.png)