Skip to content

RuanAyram/videos_on_demand

Repository files navigation

README

Gems

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

Getting started

Clone the repository

git clone git@github.com:RuanAyram/videos_on_demand.git

Edit config/database.yml, if necessary

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)

For test, run:

 $ rspec

Heroku

Videos_on_Demand

TO DO

  • Controller / Models / Views
  • Video player
  • Adjustment in Views(Model) logic
  • Rspec Tests
  • Seeds
  • Devise views
  • Heroku