FreeCodeTube - Yii2 Youtube Clone
video for FreeCodeCamp
The project was created while recordingFeatures
- Login and Registration
- Email confirmation
- Upload videos
- Provide thumbnail, title, description, tags
- Status of the video: Published or Unlisted
- Dashboard with analitics:
- Latest video
- Number of total views
- Number of total subscribers
- Latest subscribers
- View videos
- Leave a like/dislike
- Find similar videos
- Channel page
- View videos only for specific channel
- Subscribe on channel or unsubscribe
- Sending email when user subscribes to channel
- Global search to search videos by title, description or tags
- History page
Demo
If you want to see working demo of the application click here
Installation
Requirements
The minimum requirement by this project template is that your Web server supports PHP 5.6.0.
Installing using Composer
Clone the repository from github.
git clone [email protected]:thecodeholic/Yii2-Youtube-Clone.git [YourDirectoryName]
The command installs the project in a directory named YourDirectoryName
. You can choose a different
directory name if you want.
Install dependencies
For this we need composer to be installed on our operating system. If you do not have Composer, follow the instructions in the Installing Yii section of the definitive guide to install it.
With Composer installed, navigate to the project folder from command line and run
composer install
Preparing application
Follow the steps from yii2 advanced template to prepare installation.
After doing all the steps from yii2 advanced template
open common/config/params-local.php
and add your frontend domain on key frontendUrl
.
Example:
return [
'frontendUrl' => 'http://frontend.test/'
];