Little Esty Shop is a 10-day, 4 person project, during Mod 2 of 4 for Turing School's Back End Engineering Program.
There was also a solo extension project, completed by Kevin Mugele.
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.
-
Ruby version
$ ruby -v ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
-
$ 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