Skip to content

Little Esty Shop is a fictitious e-commerce platform where merchants and admins can manage inventory and fulfill customer invoices. The Bulk Discounts extension consisted of adding functionality for merchants to create bulk discounts for their items.

naomiyocum/little-esty-shop

 
 

Repository files navigation

Little Esty Shop 🛍️

GitHub Contributors GitHub language count GitHub top language

Table of Contents

General Info

"Little Esty Shop Bulk Discounts" was a solo project assigned to us during Week 5 of Mod 2 of 4 in Turing's School of Software & Design. This project builds off of the group project of "Little Esty Shop" that was assigned Week 4 of Mod 2.

Little Esty Shop is a fictitious e-commerce platform where merchants and admins can manage inventory and fulfill customer invoices. The Bulk Discounts extension consisted of adding functionality for merchants to create bulk discounts for their items. A "bulk discount" is a discount based on the quantity of items the customer is buying (e.g. 20% off orders of 10 or more items).

Click here to head to the live application!

Learning Goals

  • Practice designing a normalized database schema and defining model relationships
  • Utilize advanced routing techniques including namespacing to organize and group like functionality together.
  • Utilize advanced active record techniques to perform complex database queries
  • Practice consuming a public API while utilizing POROs as a way to apply OOP principles to organize code
  • Implement CRUD functionality for a resource using forms (form_tag or form_with), buttons, and links
  • Use MVC to organize code effectively, limiting the amount of logic included in views and controllers
  • Write model tests that fully cover the data logic of the application
  • Write feature tests that fully cover the functionality of the application

Solo Project Phases

  1. Database Setup
  2. User Stories
  3. Extensions
  4. Evaluation

Technologies

Project is created with:

  • Rails 5.2.6
  • Ruby 2.7.4
  • PostgreSQL
  • SimpleCov
  • Git
  • Pry
  • HTML
  • CSS
  • ActiveRecord
  • Heroku

Schema Design

Below is our database design with one-to-many and many-to-many relationships. Screen Shot 2022-11-11 at 10 40 01 AM

About

Little Esty Shop is a fictitious e-commerce platform where merchants and admins can manage inventory and fulfill customer invoices. The Bulk Discounts extension consisted of adding functionality for merchants to create bulk discounts for their items.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 86.2%
  • HTML 12.5%
  • Other 1.3%