Relational Rails is a rails app using two one to many relationships built in 10 days, that allow users to CRUD resources. This repo serves as an introduction to building simple Rails apps. It was assigned as a project for Module 2 of the Backend Development program for the Turing School of Software and Design.
- Start the server-
rails s
- 👀 Visit the app on Localhost:3000
100% test coverge!
- Fork and Clone the repo
- Install gem packages:
bundle install
- Setup the database:
rails db:create
- Run migrations:
rails db:migrate
- Seed the database:
rails db:seed
Testing
- RSpec and Capybara were used for unit and integration testing and project development adhered to TDD principles.
- WebMock was used to stub out API requests and actual requests are blocked from the test environment.
- 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
- SimpleCov test coverage is at 100.00%:
-
Ruby 2.7.2
-
Rails 5.2.5
- Sidarth Bagawandoss - sidarth20
- Emmy Morris - emmymorris