Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.88 KB

README.md

File metadata and controls

71 lines (58 loc) · 2.88 KB

Little Esty Shop

About this Project

"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

Timeframe: 9 days
Heroku: Little Rails Shop

Contributors

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

Schema

Little Esty Shop Schema

Built With

  • Ruby 2.7.2
  • Rails 5.2.6
  • ActiveRecord
  • SQL
  • RSpec
  • Capybara
  • Factory Bot
  • GitHub API

Important Gems(Libraries):

Getting Started

  1. Fork and clone the repo
  2. Install any missing gems from gem file
  3. Install gem packages with bundle install
  4. Run $ rails db:{create,migrate}
  5. Run $ rake csv_load:all
  6. From your terminal run $ rails s and navigate to http://localhost:3000/ in your browser to navigate the app

Testing

  • RSpec and Capybara were used for unit and integration testing and project development adhered to TDD principles.
  • Simplecov was used to track total test coverage.
  • To run our test suite, RSpec, enter $ bundle exec rspec in the terminal.
  • To see a coverage report enter $ open coverage/index.html

Phases

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

Additonal References