"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!
- 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
Project is created with:
- Rails 5.2.6
- Ruby 2.7.4
- PostgreSQL
- SimpleCov
- Git
- Pry
- HTML
- CSS
- ActiveRecord
- Heroku
Below is our database design with one-to-many and many-to-many relationships.