An open API service indexing awesome lists of open source software.

https://github.com/avivbens/message-transmitter-service


https://github.com/avivbens/message-transmitter-service

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# NestJS Transmitter service

## Dependencies


### redis-server package is mandatory

```bash
brew install redis-server
```

### ttab package is mandatory

```bash
npm install -g ttab
```




## Init

### run the follow command to init the project

```bash
npm run start:tester
```






## Tetsing



Enter OpenAPI for Node1


Enter OpenAPI for Node2


### Connect to WS via Postman to both nodes:

http://localhost:3001


http://localhost:3002

Subscribe to event name:

```
message
```



Use the `create-session-token` endpoint to create session token, use it's value in the `Authorize` button in the top right corner of the OpenAPI page.




Execute the API endpoints as you wish