Table of Contents generated with DocToc
The purpose of this project is to use Rails and ActiveRecord to build a JSON API which exposes the SalesEngine data schema.
This project uses the Ruby on Rails framework, which can be installed from here. Bundler is used to install the gems needed for this application.
In order to run this appication in the development environment, perform the following in the CLI:
bundle install
rake db:create db:migrate
rake import_csv
In order to spin-up the server, run: rails s
Rspec-Rails is used for testing. Factory_Bot is used to create test data.
In order to run tests, perform the following:
rake db:test:prepare
rspec
Anna Lewis (@anlewi5) Nico Lewis(@nico24687)