Skip to content

ohboyd/media_lists

Repository files navigation

Codeship Status for ohboyd/media_lists

Gives new meaning to 'I'll put it on the list'

Purpose

I use this application to keep track of various recommendations from friends, and I sort, rate, & review their suggestions once I've watched them. This was initially created as an example application to demonstrate my favorite pipeline for a blog post I was writing here, but it's since become something that I really enjoy using. To build something similar, I've also described the step-by-step process I took in this medium article.

Setup

If you like this, and want to keep track of your friends' suggestions too, feel free to use the instructions below to set up your own version! Moreover, please add your suggestions to my personal app, if you have anything you'd like to suggest!

  • After cloning the project, run bundle install

  • Open the app in your text editor

  • Create a file named .env in the root directory of the file structure

  • Add two environment variables to that new .env file with the names below (replace productionkey and productionsecret with your own personal values):

      AWS_ACCESS_KEY_ID=productionkey
      AWS_SECRET_ACCESS_KEY=productionsecret
    
  • Open .gitignore file and add the .env file to the list of files that won't be committed to GitHub

  • Run rails db:create && rails db:migrate && rails db:seed in your console

  • Run rails s and visit localhost:3000

Technologies

  • Rails 6.0

  • This is using JQuery-UI and AJAX to make the recommendations sortable without having to refresh the page

  • The deployment pipeline moves from GitHub -> CodeShip CI -> Heroku

  • AWS S3 & Active Storage for imbedded images and other attachments

  • Action Text for user-friendly Rich Text formatting

Worthwhile Gems

  • dotenv for loading environment variables easily

  • faker to generate fun mock data for the seeds

  • rspec for the test suite

  • factory bot to generate quasi-fixtures for easy testing

  • capybara for testing the user interactions

Glamourshots

new recommendation

recommendations page

music recommendations

create review

reviews page

About

Keep track of all the recommendations that friends give you

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published