daveshanley / asyncapi-tutorials

Looking to get started with AsyncAPI, React, WebSockets and Go? This set of code, specs and guides should get you started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsyncAPI Tutorials

This code accompanies articles on quobix.com. If you would like to gain full context behind this code and learn more about the tooling it uses, then check out the following articles.

First check out the repo

git clone https://github.com/daveshanley/asyncapi-tutorials.git


Stock Ticker React UI Example Quickstart

  1. Change directory to the stock ticker example.

cd asyncapi-tutorials/stock-ticker

  1. Install all dependencies.

npm install

  1. Run the application.

npm start

  1. Open your browser and try it out!

http://localhost:3000


Streaming Example Quickstart

  1. Change directory to the streaming example.

cd asyncapi-tutorials/streaming

  1. Boot the server and service.

go run server/server.go

  1. Open a new terminal window and run the client and watch a stream of 10 random words appear, one every second

go run client.go

make sure you stop the server process before trying other examples.


Pub-Sub Example Quickstart

  1. Change directory to the pub-sub example.

cd asyncapi-tutorials/pub-sub

  1. Boot the server and service.

go run server/server.go

  1. Open a new terminal window and run the client. Enjoy your terrible joke.

go run client.go

About

Looking to get started with AsyncAPI, React, WebSockets and Go? This set of code, specs and guides should get you started


Languages

Language:Go 62.7%Language:JavaScript 26.4%Language:HTML 7.0%Language:CSS 3.8%