Skip to content

Unix-User/BrokersCRM

Repository files navigation

Broker's CRM

A demo application based on Ping CRM to illustrate how to integrate WebRTC on Laravel project with Vue.js and how it works.

Animação

Installation

Clone the repo locally:

git clone git@github.com:Unix-User/demo.git brokercrm
cd brokercrm

Install PHP dependencies:

composer install

Install NPM dependencies:

npm ci

Build assets:

npm run dev

Setup configuration:

cp .env.example .env

Generate application key:

php artisan key:generate

Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.

touch database/database.sqlite

Run database migrations:

php artisan migrate

Run database seeder:

php artisan db:seed

Run the dev server (the output will give the address):

php artisan serve

Before start we need to share the peers between users, in this case we are using socket.io, follow the steps on this project before test the app or create your own:

server

Also, in some network's the user is behind NAT and may not be able to connect others peers, to solve this we need a TURN/STUN server. This one suits very well with this project

Coturn - TURN/STUN server

You're ready to go! Visit Brokers CRM in your browser, and login with:

Running tests

To run the Ping CRM tests, run:

phpunit

About

A demo application based on Ping CRM to illustrate how to integrate WebRTC on Laravel project with Vue.js and how it works.

Topics

Resources

License

Stars

Watchers

Forks

Languages