GithubHelp home page GithubHelp logo

sababhamidipati / little-esty-shop-discounts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bwbolt/little-esty-shop

0.0 0.0 0.0 1.49 MB

JavaScript 0.57% Ruby 88.68% CSS 0.34% HTML 10.41%

little-esty-shop-discounts's Introduction

Little Esty Shop Discounts

Screen Shot 2022-06-15 at 8 41 30 AM

Background and Description

"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.

Saba's 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
  • Build out CRUD functionality for a many to many relationship
  • Leverage explicit relationships to create additional ones where ActiveRecord use can be rationalized
  • Use ActiveRecord to write queries that join multiple tables of data together
  • Use MVC to organize code effectively, limiting the amount of logic included in views and controllers
  • Validate models and handle sad paths for invalid data input
  • Use flash messages to give feedback to the user
  • Use partials in views
  • Use within blocks in tests
  • Track user stories using GitHub Projects
  • Deploy an application to Heroku
  • Develop functional knowledge to troubleshoot Heroku errors

Testing Coverage

Model Testing: 99.8% (Total Revenue calculation not tested in Discounts proj. as it is already tested in prior project: /models/invoice.rb) Feature Testing: 100%

Requirements

  • must use Rails 5.2.x
  • must use PostgreSQL
  • all code must be tested via feature tests and model tests, respectively
  • must use GitHub branching, team code reviews via GitHub comments, and github projects to track progress on user stories
  • must include a thorough README to describe the project
  • must deploy completed code to Heroku

Setup

This project uses Ruby 2.7.4 and Rails 5.

  • Fork this repository
  • Clone your fork
  • From the command line, install gems and set up your DB:
    • bundle
    • rails db:create
  • Run the test suite with bundle exec rspec.
  • Run your development server with rails s to see the app in action.

Phases

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

little-esty-shop-discounts's People

Contributors

bwbolt avatar sababhamidipati avatar clayash avatar caden-jarrett avatar brianzanti avatar timomitchel avatar stirlhoss avatar scottalexandra avatar jamisonordway avatar

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.