Skip to content

cnodland/little_shop_v2

 
 

Repository files navigation

Little Shop of Horrors

This is a student project from the Turing School of Software & Design as part of the Module 2 backend Software Development Program. This project tasked us with creating a fictional E-Commerce website. This website would be able to facilitate Sessions of users. Allow the management of orders and items placed and created by users as well as preventing the deletion of information through the use of enabling and disabling items/orders.

-Take a look at the live website here -Take a look at the project here -Team Members: William Peterson - GitHub Jon Peterson - GitHub Trevor Nodland - GitHub Vincent Provenzano - GitHub

Tools

  • Ruby on Rails 5.1.6
  • ActiveRecord - PostgreSQL

Gems

  • FactoryBot
  • RSpec-rails
  • Shoulda-Matchers
  • Capybara
  • simplecov

Testing

RSpec was used as the primary testing suite

SimpleCov was used to ensure proper coverage of our tests

Shoulda-Matchers was used to aid in validation of our models

Tests were completed in a hybrid of top down and bottom up development. We started with feature tests that would then break into model tests as needed for core functionality.

Setup

You will need to have PostgreSQL installed and ready for this app to work correctly

Clone down the repo and run bundle install

then run rails db:{drop,create,migrate,seed} this will populate the database for testing a viewing live.

From here you can run rspec in the root to run our tests or visit the spec folder to view individual tests.

running rails s then visiting localhost:3000 will allow to you view the website live from the code itself.

Database Layout

Homepage

About

BE Mod 2 Week 4/5 Group Project, an e-commerce platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 83.1%
  • HTML 12.5%
  • CSS 3.7%
  • JavaScript 0.7%