Skip to content

Real-time private notifications that allows logged users to receive transfer notifications, amount update and unread notifications updates in real-time.

License

Notifications You must be signed in to change notification settings

Laravel-Samples/Laravel-Private_Notifications_Socket-io

Repository files navigation

Laravel 5.7 - Private real-Time notifications with Socket.io and Redis

The app simulates a cryptocurrency exchanging platform and uses Laravel Notifications classes to notifies a user in real-time about new transfers.

Installation

You will need the Redis installed and running in your environemnt;

$ npm install -g laravel-echo-server;
$ mv laravel-echo-server.json.example laravel-echo-server.json 
$ composer install
$ npm install && npm run dev
$ php artisan migrate

On your .env file replace fill with your environment data:

BROADCAST_DRIVER=redis

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null 
REDIS_PORT=6379

DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

Running the application

$ laravel-echo-server start

License

MIT

by Thiago Mallon

About

Real-time private notifications that allows logged users to receive transfer notifications, amount update and unread notifications updates in real-time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published