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
- Ruby on Rails 5.1.6
- ActiveRecord - PostgreSQL
- FactoryBot
- RSpec-rails
- Shoulda-Matchers
- Capybara
- simplecov
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.
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.