Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e303c96

Browse files
Merge branch 'master' of github.com:waqasahmedNU/laravel-live-queueing-notifications
2 parents 806af4b + 9fa35c4 commit e303c96

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

‎README.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Laravel Live/Queueing Notifications
2-
### with Laravel Echo Server, Socket.IO, Redis (Queue) and MySQL (For storing Notification)
1+
# Laravel Real-Time/Queueing Notifications
2+
### with Laravel Echo Server, Socket.IO, Redis (Queue) and MySQL (For storing notification related information)
33

44
Laravel Echo Server - NodeJs server for Laravel Echo broadcasting with Socket.io. [Laravel Echo Server](https://github.com/tlaverdure/laravel-echo-server).
55

@@ -122,3 +122,6 @@ There are several ways and reasons to show notifications:
122122
<p align="center">
123123
<img width="800" src="https://github.com/waqasahmedNU/laravel-live-queueing-notifications/blob/master/docs/images/notification_delete.PNG">
124124
</p>
125+
126+
## Demo API
127+
The demo API project is developed using [Lumen Framework](https://lumen.laravel.com/).

‎api/app/Http/Controllers/AppNotificationController.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private function isResourceExists($id){
2626
public function post(Request $request, Response $response){
2727
if (!$this->isResourceExists($request->id)) {
2828
$resource = new Resources();
29-
$resource->id = $request->id;
29+
// $resource->id = $request->id;
3030
$resource->name = $request->name;
3131
$resource->save();
3232
$this->notification_operation->add($resource);

‎api/routes/web.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
$router->group(
1919
[
20-
'prefix' => '/api',
20+
'prefix' => '',
2121
],
2222
function () use ($router) {
2323

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /