Skip to content

GBowman1/b2-final-starter-7

 
 

Repository files navigation

DB SCHEMA

Screenshot 2024-06-11 at 8 34 36 PM

PROJECT INFO

"Little Esty Shop" is a group project that requires students to build a fictitious e-commerce platform where merchants and admins can manage inventory and fulfill customer invoices.

Heroku Admin url: https://final-little-shop-63a5d5f9bdaa.herokuapp.com/admin/dashboard
Heroku Merchant Url: https://final-little-shop-63a5d5f9bdaa.herokuapp.com/merchants/1/dashboard

Ideas for a potential contributor to work on/refactor next

  1. Add Holidays
  • Holidays API

As a merchant When I visit the discounts index page I see a section with a header of "Upcoming Holidays" In this section the name and date of the next 3 upcoming US holidays are listed.

Use the Next Public Holidays Endpoint in the Nager.Date API

  1. Create a Holiday Discount
  • As a merchant, when I visit the discounts index page, In the Holiday Discounts section, I see a create discount button next to each of the 3 upcoming holidays. When I click on the button I am taken to a new discount form that has the form fields auto populated with the following:

    Discount name: discount Percentage Discount: 30 Quantity Threshold: 2

I can leave the information as is, or modify it before saving. I should be redirected to the discounts index page where I see the newly created discount added to the list of discounts.

  1. View a Holiday Discount
  • As a merchant (if I have created a holiday discount for a specific holiday), when I visit the discount index page, within the Upcoming Holidays section I should not see the button to 'create a discount' next to that holiday, instead I should see a view discount link. When I click the link I am taken to the discount show page for that holiday discount.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 84.7%
  • HTML 13.4%
  • SCSS 1.1%
  • JavaScript 0.8%