This app works along with Pusher, Laravel Events, Laravel Channels, Laravel Form Requests, Laravel Middleware, Laravel Echo and Vue.js
In addition to the repository jamesmallon/Laravel-RealTime_Public_Notifications, this app includes a customized User Registration.
Under the Home page title lays a quotation, this text box can be updated in real time by logged users. All new messages are saved to the database and by default the system print the last massage added, if none, it gets a Laravel Inspire quote.
To change the home page message you'll need to register and login in the app - write new messages in the dashboard and in other browser tab you'll be able to see the home page message being updated in real time.
- replacing the 'name' property, column, validation and everything associate with this data to 'username'
- adding a Request Class (RegistrationRequest) to deal with the form fields validation and error message customization
- adding a get route to the logout
- segregating layout and public files in 'front' and 'dashboard'
Install composer dependencies:
$ composer install
Instal npm dependencies and run the mix tasks:
$ npm install && npm run dev
On your .env file put your Pusher and DB credentials:
BROADCAST_DRIVER=pusher
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
MIT