Sample teste with WebRTC + Larvel + VueJs
Sample teste with WebRTC + Larvel + VueJs + Pusher (❤️RealTime❤️)
CREATE DATABASE webrtc COLLATE 'utf8_general_ci';
git clone https://github.com/gabrieldarezzo/webrtc-laravel-vue.git
cd webrtc-laravel-vue
composer update
Update your '.env' file:
DB_DATABASE=webrtc
DB_USERNAME=root
DB_PASSWORD=
BROADCAST_DRIVER=pusher
PUSHER_APP_ID=732169
PUSHER_APP_KEY=41e804129664dea402c6
PUSHER_APP_SECRET=d421071c14422387ed48
PUSHER_APP_CLUSTER=us2
Create Tables, and populate then
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan serve
npm install
npm run watch
php artisan migrate:refresh
php artisan db:seed
User 1:
gabrieldarezzo@yahoo.com.br
Pass:
password
User 2:
teste@yahoo.com.br
Pass:
password