Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keizah7/laravel-youtube-videos-list
Panaudoti Laravel / vuejs / Youtube API
https://github.com/keizah7/laravel-youtube-videos-list
laravel vue youtube-api youtube-data-api-v3
Last synced: about 1 month ago
JSON representation
Panaudoti Laravel / vuejs / Youtube API
- Host: GitHub
- URL: https://github.com/keizah7/laravel-youtube-videos-list
- Owner: keizah7
- Created: 2020-02-10T20:06:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-29T10:44:35.000Z (over 3 years ago)
- Last Synced: 2024-10-12T11:25:08.792Z (2 months ago)
- Topics: laravel, vue, youtube-api, youtube-data-api-v3
- Language: PHP
- Homepage:
- Size: 921 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)
[![Chat](https://img.shields.io/discord/620935790867906561?label=chat)](https://discord.gg/YeJBQrTUT9)
![HitCount](https://views.whatilearened.today/views/github/keizah7/laravel-youtube-videos-list.svg)
![Forks](https://img.shields.io/github/forks/keizah7/laravel-youtube-videos-list?style=social)
![Stars](https://img.shields.io/github/stars/keizah7/laravel-youtube-videos-list?style=social)
![Watchers](https://img.shields.io/github/watchers/keizah7/laravel-youtube-videos-list?style=social)
![Contributors](https://img.shields.io/github/contributors/keizah7/laravel-youtube-videos-list)
## Youtube videos list#### Panaudojant Laravel 5+ ir VueJS įgyvendinti šiuos punktus:
1. Sukurti vartotojo login/registracijos formą:
1. Turi būti galimybė pasirinkti userio rolę:
- agent
- teamleader.
1. Duomenis talpinti `SQL` tipo duomenų bazėje.
1. Iš youtube.com ištraukti video duomenis:
1. Teamleader tipo vartotojas turi turėti galimybę pridėti prie savo paskyros Youtube klipus ir jų informaciją gautą per `Youtube API`.
1. Atvaizduoti video sąrašą:
1. Vartotojas `agent` turi matyti visų ištrauktų klipų lentelę (pagalvoti apie duomenų kešavimą).## Installation
Run these commands in command prompt:
```
git clone https://github.com/keizah7/laravel-youtube-videos-list.git your-folder
cd your-folder
composer install
npm install
```
Create ``.env`` file from ``.env.example``Run ``php artisan key:generate`` and the fill data in ``.env`` file:
```
MIX_SENTRY_DSN_PUBLIC=http://localhost/your-folder/public
DB_DATABASE=database-name
DB_USERNAME=database-user
DB_PASSWORD=database-passYOUTUBE_API_KEY=youtube-api-key
OAUTH2_CLIENT_ID=google-oauth2-client-id
OAUTH2_CLIENT_SECRET=google-oauth2-client-seret
```
You can get API keys in [Google APIs](https://.developers.google.com).Authorized redirect URIs: ``http://localhost/your-folder/public/youtube/callback``
And, finally: run
```
php artisan migrate:fresh --seed
npm run dev
```#### Author: [Artūras](https://github.com/keizah7) ![Followers](https://img.shields.io/github/followers/keizah7?style=social)