
Learn to create a sessions table via a Laravel migration, including id, user1_id and user2_id fields, enforcing uniqueness, and setting up the private school chat database before migrating.
Create the messages schema by adding a messages table linked to the session with an unsigned session_id and a content field, then migrate and refresh to apply changes.
Explore how Laravel resources shape model data, create a user resource, and transform logged-in user data, with optional meta fields and collection transformations for multiple records.
Design and test a one-to-one chat interface by adding a close button to chat windows, managing an open state, and emitting a close event between message components.
Enable a front-end block feature that disables the input when blocked. Toggle block and unblock, show blocked status, and style the username in the Laravel Vuejs private chat app.
Configure pusher settings for the Laravel Vuejs private chat app by obtaining the app id, key, secret, and cluster, and updating the config to enable and create channels.
Explore how a private Laravel Vue.js chat app shows friends online status by handling join and leave events, updating each friend's online indicator in real time.
Build an Awesome Chat App Having lots of Unique feature.
Who is online
Block/Unblock,
Clear Chat history
Typing
Send timing/Read Timing on Hover over message
Change Color if message is read
Offline message received
Number of unread messages.
What Will I Learn?
How to create chat application
How websocket works
Installing Laravel
Using Git and Github
Setting Up Vuejs
How to Transform any model for your API
Handling Errors and Exceptions
All this with Mysql, Laravel, Pusher, Vuejs and laravel websockets.