File: database/migrations/2017_07_05_210219_create_news_table.php
$table->increments('id');
$table->text('title')->nullable();
$table->text('video')->nullable();
$table->integer('type');
$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('id')->on('users');
$table->json('likes');
$table->timestamps();
$table->softDeletes();
File: app/News.php
File: routes/web.php
// News
Route::get('/news', 'NewsController@index');
Route::get('/news/all', 'NewsController@all');
Route::post('/news/store', 'NewsController@store');
Route::delete('/news/destroy/{id}', 'NewsController@destroy');
Route::post('/news/like/{id}', 'NewsController@like');
Route::post('/news/upload/temp', 'NewsController@uploadTemp');
File: app/Http/Controllers/NewsController.php
File: resources/views/news.blade.php
Folder: resources/assets/js/components/news