suyambu-artify / laravel-youtube-clone

School Project - Web Technologies Class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REQUIREMENTS
============
* Composer
* NodeJS 7.3+
* PHP 7.x
* MySQL / MariaDB

API
===
# configuration
Check db connection info in .env file

# install dependencies
composer install

# setting up db
php artisan migrate
php artisan passport:install

# seeding db (none of videos work, but there is some dummy data, each user has password "secret")
php artisan db:seed

# starting development server localhost:8000
php artisan serve

APP
===
# install dependencies
npm install

# set authentication settings
change "client_secret" in app/src/api/authenticate with correct value from db
> SELECT secret FROM uni_generic_videos.oauth_clients WHERE id = 2

# serve with hot reload at localhost:8080
npm run dev

About

School Project - Web Technologies Class

License:MIT License


Languages

Language:PHP 44.1%Language:CSS 23.5%Language:JavaScript 20.2%Language:Vue 12.1%Language:HTML 0.1%