Skip to content

khoifishpond/little-esty-shop

 
 

Repository files navigation

Little Esty Shop

little_etsy_shop_db_schema

Table of Contents

README

Overview

Little Esty Shop is a 10-day, 4 person project, during Mod 2 of 4 for Turing School's Back End Engineering Program.

Our challenge was to build a functioning web app consisting of multiple relational databases to model the popular e-commerce web site Little Etsy Shop.

Little Esty Shop allowed us to apply priniciples of flow control across multiple methods, design one-to-many relationships using DB Designer, and write migrations to create tables with columns of varying data types and foreign keys. Ruby on Rails helped give us a framework to create instance and class methods on a Rails model that uses ActiveRecord methods and helpers, letting our users experience CRUD functionality through our application. By maintaining a TDD mindset, we were able to make sure our features and models were being test consitently throughout the development process.

Technical Requirements

Framework

Languages

Tools

Gems


Development Principles

Setup

  • Ruby version

    $ ruby -v
    ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
  • System dependencies

    $ rails -v
    Rails 5.2.6
  • Database creation

    $ rails db:{drop,create,migrate}
    Created database 'little_esty_shop_development'
    Created database 'little_esty_shop_test'
  • Database initialization

    $ rake csv_load:all
  • How to run the test suite

    $ bundle exec rspec -fd
  • Local Deployment, for testing:

    $ rails s
    => Booting Puma
    => Rails 5.2.6 application starting in development
    => Run `rails server -h` for more startup options
    Puma starting in single mode...
    * Version 3.12.6 (ruby 2.7.2-p137), codename: Llamas in Pajamas
    * Min threads: 5, max threads: 5
    * Environment: development
    * Listening on tcp://localhost:3000
    Use Ctrl-C to stop
    
  • Heroku Deployment, for production

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 86.0%
  • HTML 12.9%
  • Other 1.1%