Giter Club home page Giter Club logo

little_shop's People

Contributors

brianzanti avatar erin-king avatar iandouglas avatar memcmahon avatar

Watchers

 avatar  avatar

little_shop's Issues

CC: Coupon Index Page

As a merchant
When I visit my dashboard
I see a link to my manage my coupons (coupon index page)

MM: 1. Top 10 Sellers Last Month

As a visitor to the site
When I visit the Merchant Leaderboard at '/merchants'
I see Top 10 Merchants who sold the most items last month

CC: Merchant Coupon Show Page Edit a Coupon

As as merchant
when I visit my coupon show page
and I click on the Edit Coupon button
I am brought to an edit page where I can edit my coupon
I edit then click submit and I am redirected to the index page and I see my edited coupon

  • Can only edit value
  • Cannot edit if the coupon has been used

CC: Merchant Coupon Show Page Delete a Coupon

As a merchant
when I visit my coupon show page
I click on the Delete Coupon button
I am redirected to the coupon index page and I don't see the deleted coupon

  • I cannot delete a coupon that has been used

CC: Merchant Coupon Index Page

As a merchant
When I visit my coupon index page
I see a list of my coupons
Each coupon has a name, percent off value
Each coupon code is a link to the coupon's show page

  • The coupon name/code is unique to the db

CC: Merchant Coupon Index Page Add a Coupon

As a merchant
when I visit my coupon index page
I click on the Add Coupon button
I'm directed to a new page where I see a form with a coupon code and percentage field
I enter the information
I am redirected to the coupon index page and I see my new coupon

  • I cannot have more than 5 coupons

MM: MORE MERCHANT STATS

Task:
Build a Merchant leaderboard as part of the "/merchants" page containing additional statistics that all users can see.

Implementation Guidelines:
It may be tricky to build any one portion of these statistics in a single ActiveRecord call. You can use multiple calls in a method to build these statistics, but allow the database to do the calculations, not Ruby.

Mod 2 Learning Goals reflected:

  • Advanced ActiveRecord
  • Software Testing
  • HTML/CSS layout and styling

CC: COUPON CODES

Task:
Merchants can generate coupon codes within the system.

Implementation Guidelines:
Users can enter different coupon codes until they finish checking out, then their choice is final.
The cart show page should calculate subtotals and the grand total as usual, but also show a "discounted total".
Order show pages should display which coupon was used.
If a user adds a coupon code, they can continue shopping. The coupon code is still remembered when returning to the cart page.

Mod 2 Learning Goals reflected:
Database relationships and migrations
ActiveRecord
Software Testing
HTML/CSS layout and styling

CC: Merchant Coupon Show Page Enable/Disable a Coupon

As a merchant
when I visit my coupon show page
I see an enable button next to disabled coupon
I see a disable button next to enabled coupon
When I click the button, I am redirect the the index page and the coupon now shows the opposite value
Maybe have the text a different color?

  • Disabled coupons cannot be used by a user and are not displayed to a user

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.