10000 Update README.md · JAVI-CC/Laravel-API-Server@af6a047 · GitHub
[go: up one dir, main page]

Skip to content

Commit af6a047

Browse files
committed
Update README.md
1 parent ee32940 commit af6a047

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<li>Seeders are in JSON format</li>
2424
<li>It is compatible with PHP 8</li>
2525
<li>Search filters of the games that are inserted in the database.</li>
26+
<li>Websockets with Pusher.</li>
2627
<li>Documentation of all the api enpoints with the Laravel Swagger 3.0.</li>
2728
<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>
2829
<li>The Api is uploaded in heroku <a href="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 @@
208209

209210
<br>
210211

212+
<h2>Start the websockets with Pusher</h2>
213+
<pre><code>1. In your <a href="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+
211224
<h2>Deploy to Docker <g-emoji class="g-emoji" alias="whale" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f433.png">🐳</g-emoji></h2>
212225

213226
<h4>Containers:</h4>

0 commit comments

Comments
 (0)
0