A website that allows user share youtube video and interact with each other. This is also a toy project I created for learning and testing. I used to create new projects everytime I learn something new which makes my knowledge scatter. With this project, I could see more clearly how things intertwine.
Live demo on Heroku: here
- User can log in and create a post by sharing youtube video url.
- User can interact (like) with other posters.
Install and update nessessary gems. Install ruby 2.6.3
if needed.
bundle update && bundle install
Set-up database. Install psql
if needed.
Runtest to make sure everything works fine.
bin/rails db:create
bin/rails db:migrate
bin/rails db:migrate RAILS_ENV=test
Finally, run the project. It is lived on localhost:3000
.
bin/rails s
In order for the app to work locally, we need Google API for Youtube and OAuth 2.
After getting the API key, run bundle exec figaro install
and add the credential to the newly created file: config/application.yml