Gems | Purpose |
---|---|
Devise | User Authentication |
Rspec | Default tests |
Rubocop | Static code analyzer and formatter |
factory_bot_rails | Setting up Ruby objects as test data |
shoulda-matchers | Simple one-liner tests |
General | Version |
Ruby | 2.5.1 |
Rails | 5.2.2 |
Clone the repository
git clone git@github.com:RuanAyram/videos_on_demand.git
Enter in the folder, then run these commands to install gems, create a database and populate, then run api locally
cd videos_on_demand
bundle install
rails db:create && rails db:migrate && rails db:seed
rails s
For login: use the email(fixed_user@email.com) with password(123456789)
$ rspec
- Controller / Models / Views
- Video player
- Adjustment in Views(Model) logic
- Rspec Tests
- Seeds
- Devise views
- Heroku