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

Local dev server #123

Open
jordaneremieff opened this issue May 31, 2020 · 4 comments
Open

Local dev server #123

jordaneremieff opened this issue May 31, 2020 · 4 comments
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jordaneremieff
Copy link
Collaborator

jordaneremieff commented May 31, 2020

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.

@jordaneremieff jordaneremieff added feature New feature or request maybe Just an idea labels May 31, 2020
@andrianowinatra
Copy link

Is it not possible to rely on localstack?

@jordaneremieff
Copy link
Collaborator Author

@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.

@Kludex
Copy link
Owner

Kludex commented Sep 26, 2024

Maybe we can get a plan talking with the localstack team.

PR is welcome to add localstack to the repository.

@Kludex Kludex added good first issue Good for newcomers help wanted Extra attention is needed and removed maybe Just an idea labels Sep 26, 2024
@pkucmus
Copy link

pkucmus commented Nov 22, 2024

I mentioned it there but got no reply. I'll try here then.

Will Smyth fill this gap?

It's not a direct replacement for serverless, but helps us with local development a lot for months now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants