This is a YouTube clone created with Ruby on Rails, JS, React and Redux
WatchTube is an online video-sharing platform. WatchTube allows you to create an account, login, put like and leave comments on videos, search a specific video
- JavaScript
- React
- Redux
- Rails 5
To run this project, install it locally using commands:
$ npm install
$ npm start
to run frontend components
Then use commmand for rails:
$ bundle install
to install all necessary gems and after that $ bundle exec rails db:setup
to setup database.
Finally run the server with $ rails s
command. Make sure all this commands run inside of the project folder!
You can check live demo. Click on this link Live demo
List of features ready and TODOs for future development:
I have used two separed forms for sign in and sign up, to do that i have used React-redux library
- Create a new user account - Signup form for new users
In order to create a new user account you are reequired to fill in all fields(username, password and email)
-
Login to existing account - Login form for users that already signed up
If you already have created an account, you can login. Otherwise click on the link to Create a new account
-
Logout
-
Write comments under videos This feature to create comments is available only for logged in users
- Like/dislike comments User can like or dislike(if already liked) comments. This feature also available only for logged in users.
To-do list:
- Logged user can edit or delete their own comments
- Logged user can upload videos
- VIdeo show page with all uploaded videos, comments and likes
Project is: in progress