GithubHelp home page GithubHelp logo

h2store's People

Contributors

anule avatar blancasnz avatar collin avatar connieelee avatar geoffbass avatar ghoagland avatar glebec avatar mbetances805 avatar sixxta avatar tmkelly28 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

blancasnz

h2store's Issues

Transaction database

  • Order status

  • Date / time order created

  • UserId

  • Transaction has many Products (Join table to cover Transaction Id, Quantity, ProdId)

  • Transaction belongs to User

Image

This issue isn't priority, but would be a great effect

  • Image changes while on homepage, with a fade

Fix noauth -> auth cart persistance problem

For bugs, please include the following:

  • What is the expected behavior?
  • What is the actual behavior?
  • What steps reproduce the behavior?

For features, please specify at least minimal requirements, e.g.:

  • "As a user, I want a notification badge showing unread count, so I can easily manage my messages"
  • "As a developer, I want linting to work properly with JSX, so I can see when there is a mistake"
  • "As an admin, I want a management panel for users, so I can delete spurious accounts"

Issue description here…

Unauthenticated user

  • save shopping cart in session storage
  • on session storage, we want to save productId

Reviews Page

  • list of all reviews for that specific product
  • include header with product name and picture
  • link back to the product page

Home Page

  • Header Pane / Navigation bar

  • Link to All Products

  • Footer

  • Shopping Cart

  • Best Sellers Section

Checkout

  • unauthenticated user: make new instance in users table
  • create new instance in the transaction table
    • unauthenticated user: save session storage cart as new instance in transaction table
  • update transaction/product table

Cart component

  • save cart items
  • set up store for cart items
    • thunk checks if req.session.userId exists
      • yes: save cart items in transactions, transaction/products
      • no: save cart items to req.session.cart

Single Product Page

reflect single product with...

  • description
  • price
  • reviews
  • add to cart button

Reviews DB Model

Review model ....

  • number of stars
  • message content
  • Title
  • Date
  • Review belongsToAUser
  • Review belongsToAProduct

Back end routes

Routes to ...

  • Home Page

  • Category

  • Single Product

  • All Products

Write All Products tests

  • Brings correct data from via axios requests
  • Links to proper Single Category page when it is selected

Best Sellers / Most Popular

Best Sellers / Most Popular is a class method in DB

  • keep track of top 4 best sellers

  • defined by the products that appear in the most number of transactions

Database

  • Product

    • Name
    • Price
    • Description
    • Image
    • Product belongs to a Category
  • Category

    • Name
    • Description
    • Category has many Products

add link on single category page

  • will be able to click on single product from single category page, and it will link to single product page
  • will be able to go back to category from single product page

User Home Page

User Home Page ....

  • Order History

  • Update Profile Info Button

  • Login In/ Security

  • Payment Options

User database

  • First name

  • Last name

  • Address

  • City

  • State

  • Zipcode

  • Email address

  • Username

  • Password

  • is Admin?

  • User has many Transactions

README file

  • Project Title

  • Site Description

  • Group Members

All products page

  • Pulls product details from db (product name, description, price)

  • Side Pane for Categories (able to navigate to different category pages)

  • Header Pane (link to Home Page via logo, log in, shopping cart)

API route for cart

Use 'express-session'

  • receives the product information for an authorized user
  • stores the cart information from a session for an unauthorized user

Styling

  • Homepage
    • Carousel component
  • All Products
  • Shopping Cart
  • Single Product
  • Single Category

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.