Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a local dev HTTP/WebSocket server implementation #413

Open
lazerwalker opened this issue Apr 14, 2021 · 4 comments
Open

Implement a local dev HTTP/WebSocket server implementation #413

lazerwalker opened this issue Apr 14, 2021 · 4 comments
Assignees
Labels
icebox Feel free to do this if it inspires you, but it's not a priority

Comments

@lazerwalker
Copy link
Collaborator

The way this project currently relies on Azure Functions and Azure SignalR Service makes it difficult to test locally. One fix for this is to make it so that someone can run a local version of the backend.

This is 3 big-picture things:

  • Build a HTTP/WebSocket server that pulls in all of our existing server functions. Our existing abstraction layer (so we're not dependent on the Azure Functions API) should make this relatively straight-forward
  • In building WebSocket support, reimplement Azure SignalR Service's group functionality for message delivery
  • In the client, abstract our our network handling. We currently hardcode that we send data via HTTP requests and receive data via SignalR. This implementation will probably use WebSockets for maybe 90% of all data and HTTP for the rest.
@lazerwalker
Copy link
Collaborator Author

Letting people run the server locally will help a lot. Let's do this.

@lazerwalker
Copy link
Collaborator Author

Moving this outside "do for 2022" for now. It's more annoying than I want it to be because we still need a Firebase app, and having our admin editor removes the crunch on non-coding writers to set up their own instance.

@lazerwalker lazerwalker self-assigned this Jul 9, 2022
@lazerwalker lazerwalker added icebox Feel free to do this if it inspires you, but it's not a priority and removed chore labels Jun 23, 2023
@lazerwalker
Copy link
Collaborator Author

We'll be adding an Azure PubSub implementation that moves us to pure WebSockets. Leaving this as a separate icebox issue to have a local-only / not serverless server.

@lazerwalker lazerwalker changed the title Implement an HTTP/WebSocket server implementation Implement a local dev HTTP/WebSocket server implementation Apr 29, 2024
@lazerwalker
Copy link
Collaborator Author

See #857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
icebox Feel free to do this if it inspires you, but it's not a priority
Projects
None yet
Development

No branches or pull requests

1 participant