Giter Site home page Giter Site logo

scorestore's Introduction

scorestore

buy scores from your friends.

Check out our documentation here

Current Status:

Waffle.io: Stories in Ready Coveralls: Coverage Status

scorestore's People

Contributors

geoffbass avatar jonperrelle avatar kmasila00 avatar

Stargazers

Jack Backes avatar

Watchers

Ryan L. Foster avatar  avatar Jack Backes avatar  avatar  avatar

scorestore's Issues

shopping cart persistence

log out and products remain in cart, can add products to cart w/out logging in and items stay in your cart when logging in

Navigation bar

options to login, signup, view cart, about, contact, home, etc.

search bar

search by category - composer, genre, name

Order Management

  • View a list of all orders
  • Filter orders by status (Created, Processing, Cancelled, Completed)
  • Change the status of the order (Created -> Processing, Processing -> Cancelled || Completed)
  • View details of a specific order

Admin User

Administrative users are employees of StackStore™ and can manage the site, product listing and currently available items. You can choose how you want to make this functionality available. You could choose to have a separate dashboard for admins, or perhaps an admin would visit similar views but with augmented capabilities. For example, perhaps if an admin clicks on a photo, they are prompted to change the photo by uploading a picture.

Product Reviews

  • leave a review (with text and a 5-star rating) for a product.

All Pages

Elements that should be on all pages

Cart Model

we need a cart model to store unfinished shopping.

or maybe we just extend the order (#40) model?

User management

  • Promote other user accounts to have admin status
  • Delete a user
  • Trigger password reset for a user (next time they successfully log in—with their old password—they are prompted for a new one)

General Thought: Photos Model

A number of our models ( #47 #46 ) require photos (ie, user avatars, song images). I want to propose a really elegant pattern for photos that I've seen elsewhere:

A Single Photos Model

By having one Photos model, we can keep a repository of our photos in one place, then we index those photos as needed to other models.

Want to have an image of a product? Product.hasImage({as: featuredImage});
Want to have a bunch more photos (not featured)? Product.hasManyImages({as: 'photo'});
Want to have an avatar? User.hasImage({as: 'avatar'})
Picture of a receipt? Order.hasImage({as: 'receipt'})
Want to badges for users active users? User.hasManyImages({as: 'badge'});

This way, we can keep all of our images in one place.

Comments? Blistering Criticism? Opposition?

Product Management

  • Create and edit products with name, description, price, and one or more photos
  • Create categories for items. Each item can have multiple categories.
  • Manage the availability of the product. If a product is no longer available, users will not see it while browsing, but they can view product detail if they've previously ordered it, or have a direct link. On the product detail page, it should say "currently unavailable."
  • add or remove categories from an item

General thought: One-To-Many Relationships

as I noted in #46, I have a general preference for One-To-Many relationships where we think we might need one in the future. It will be much more difficult to change our code later on, because we will build our code expecting a single result instead of an array.

I won't belabor the point, but I will tag this issue for code where I think we could have one-to-many instead of one-to-one relationships.

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.