You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
<li>Seeders are in JSON format</li>
24
24
<li>It is compatible with PHP 8</li>
25
25
<li>Search filters of the games that are inserted in the database.</li>
26
+
<li>Websockets with Pusher.</li>
26
27
<li>Documentation of all the api enpoints with the Laravel Swagger 3.0.</li>
27
28
<li>Users can be registered through the Api and it contains authentication by Sanctum to be able to carry out the action of some endpoints.</li>
28
29
<li>The Api is uploaded in heroku <ahref="https://laraveljuegosapi.herokuapp.com/api/juegos"target="_blank">https://laraveljuegosapi.herokuapp.com</a> so that users can use the endpoints without having to download the project.</li>
@@ -208,6 +209,18 @@
208
209
209
210
<br>
210
211
212
+
<h2>Start the websockets with Pusher</h2>
213
+
<pre><code>1. In your <ahref="https://pusher.com/"target="_blank">Pusher account</a> create a channel called: <strong>juegos-api</strong></code></pre>
214
+
<pre><code>2. Enter the file: <strong>.env</strong></code></pre>
215
+
<pre><code>3. fill in the following credentials:
216
+
<strong>PUSHER_APP_ID=</strong>{App Keys in the channel juegos-api app_id}
217
+
<strong>PUSHER_APP_KEY=</strong>{App Keys in the channel juegos-api key}
218
+
<strong>PUSHER_APP_SECRET=</strong>{App Keys in the channel juegos-api secret}
219
+
<strong>PUSHER_APP_CLUSTER=</strong>{App Keys in the channel juegos-api cluster}
220
+
</code></pre>
221
+
222
+
<br>
223
+
211
224
<h2>Deploy to Docker <g-emojiclass="g-emoji"alias="whale"fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f433.png">🐳</g-emoji></h2>
0 commit comments