Skip to content

PantaKoda/cf6-netsse

Repository files navigation

Stream messages API

This project is standalone. It defines an endpoint where clients can connect and receive messages regrading maritime vessels. It leverages server-sent events since there is no need for bidirectional communication between client and server. It acts as a wrapper of a websocket client where the data originally comes from. The thinking of using this wrapper was to allow extra manipulation and logic before passing the events to the client. It was also though as a "central api" in case my apps grew for different clients(eg mobile, desktop etc.).

How to run :

This app is also dockerized and running the aspnet:9.0 runtime.

  docker build -t websocket-sse-app .

you can change the tag websocket-sse-app to your liking.

  docker run -d -p 5000:8080 --name websocket-sse-app -e AISSTREAM_API_KEY=myApiKey -e ASPNETCORE_ENVIRONMENT=Development websocket-sse-app

you need api key access.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published