(Alpha) Chat v2.0 (pusher only)

This is a "Alpha" commit. Its meant for Alpha testing. Features are
still being developed.

Please note, you must setup at least a FREE account with pusher and set
the corresponding fields in you `.env` file.

In the coming commits I will introducing a fallback so that once the
FREE pusher DAILY limits are reached, it will fall back to tradiational
database pulling every 3 seconds to get new messages.

There are still features that need to be added:
1. Emoji's
2. Statuses
3. User Tagging
4. Users List
5. Delete own messages, and staff moderation
and more ...
This commit is contained in:
poppabear8883
2018-05-03 21:32:59 -04:00
parent 3190bc7951
commit f52662a061
12 changed files with 600 additions and 598 deletions
@@ -4,7 +4,6 @@ namespace App\Http\Controllers\API;
use App\Chatroom;
use App\Events\MessageSent;
use App\Events\UserJoinedChat;
use App\Http\Resources\ChatMessageResource;
use App\Http\Resources\ChatRoomResource;
use App\Http\Resources\UserResource;