Skip to content

Commit

Permalink
adds assets in the folder
Browse files Browse the repository at this point in the history
  • Loading branch information
afzal442 authored Sep 12, 2023
1 parent bdf4b19 commit 92e3025
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added assets/glee_resp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/glee_struct.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ We recommend creating a new Glee app using our official CLI which sets up everyt

Once the process is completed, you should have a new Glee app ready for development and see these files that were made.

![glee_struct](https://github.com/afzal442/glee/assets/11625672/2140f1fc-451c-4d3d-8802-3291149fd8ff)
![glee_structure](/assets/glee_struct.png)

#### Define our Spec for our API

Expand Down Expand Up @@ -137,6 +137,6 @@ npm run start
```
To send a WebSocket request with a payload e.g. `{"name":"souvik", "time": "1567906535"}` to `ws://localhost:3000/greet`, open Postman and checkout the endpoint:

![glee1](https://github.com/afzal442/glee/assets/11625672/5f3770b8-ec97-4018-9d54-36ab725d4db8)
![glee_response](/assets/glee_resp.png)

So, this is how easy it is to build a WebSocket API using Glee. You can also check out the example code [here](https://github.com/Souvikns/greet-bot).

0 comments on commit 92e3025

Please sign in to comment.