- Bulk discounts can be applied to a merchants items when bought over a quantity threshold, and then apply a discount based on a percentage. These discounts can be created, updated, and deleted.
- This Rails application emulates a business intelligence application which displays records and their associated records, and allows users to perform CRUD actions on these records. Resources demonstrate one-to-many and many-to-many relationships.
- Status: Deployed
- Visit: https://blooming-escarpment-52891.herokuapp.com/
This application uses custom rake tasks to import CSV data to database tables:
- To clear the CSV data: `rails csv_load:delete`
- To load all CSV files: `rails csv_load:all`
- To load individual CSV files: 'rails csv_load:{file}
-
To create a visual of the database:
active_designer --create ./db/schema.rb -
To view it in a webpage:
open active_designer/index.html
- RSpec
- SimpleCov
- Capybara
- ShouldaMatchers
- FactoryBot
- launchy
- Orderly
- Faker
- Faraday
- Webmock
- VCR
- Practice designing a normalized database schema and defining model relationships
- Utilize advanced routing techniques including namespacing to organize and group like functionality together.
- Utilize advanced active record techniques to perform complex database queries
- Practice consuming a public API while utilizing POROs as a way to apply OOP principles to organize code
- must use Rails 5.2.x
- must use PostgreSQL
- all code must be tested via feature tests and model tests, respectively
- must use GitHub branching, team code reviews via GitHub comments, and github projects to track progress on user stories
- must include a thorough README to describe the project
- must deploy completed code to Heroku
This project requires Ruby 2.5.3.
- Fork this repository
- Clone your fork
- From the command line, install gems and set up your DB:
bundlerails db:create
- Run the test suite with
bundle exec rspec. - Run your development server with
rails sto see the app in action.
