Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Vitsen15/real_time_chat_Laravel

Repository files navigation

Real time chat

This a real time chat application on laravel PHP framework based on pusher broadcaster

INSTALLATION

Install project dependencies via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can set up this project using the following command:

composer up

Install node modules

If you do not have Node.js, you may install it here.

Type following command:

npm install

Migrate data base

Type following command:

php artisan migrate

Config .env file

In order for this project to work, you must configure the .env file, or rather its specific sections:

DB_CONNECTION=<mysql>
DB_HOST=<host>
DB_PORT=<port>
DB_DATABASE=<name>
DB_USERNAME=<username>
DB_PASSWORD=<password>

-------------------------

BROADCAST_DRIVER=pusher

-------------------------

PUSHER_APP_ID=******
PUSHER_APP_KEY=*******************
PUSHER_APP_SECRET=********************
PUSHER_APP_CLUSTER=<cluster>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published