-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Local dev server #123
Comments
Is it not possible to rely on localstack? |
@andrianowinatra I'm not very familiar with this library, but one thing I noticed in the README is that it would require a paid plan for WebSocket support. I'm primarily wanting this for WebSockets development without needing any additional configuration or overhead, because I want a way to quickly see how the adapter and ASGI requests<->response behaviour is working before committing to any significant integration/functional tests. |
Maybe we can get a plan talking with the localstack team. PR is welcome to add |
I think this would be mostly useful for developing Mangum itself, but it could be useful for application developers. Currently I've relied on Serverless Offline to test deployments, but this requires a Serverless Framework configuration and gives me a lot more than I need for certain debugging tasks.
Essentially what I think needs to be done is provide a layer to convert normal HTTP/WebSocket requests into AWS events and feed that to the adapter, then emulate the AWS response. Can probably create some tooling that can be re-used in the tests as well.
The text was updated successfully, but these errors were encountered: