p/sst
Work on your serverless apps live
Michael Seibel
SST — Work on your serverless apps live
Featured
21
SST (Serverless Stack) is a framework that makes it easy to build serverless apps. It features:
--
- A Live Lambda Development environment
- Zero-config support for ES and TypeScript
- Higher-level constructs designed for serverless
Replies
Best
Kevin Simons
Looks great! Inability to have a proper local development environment is the top of my list for why we haven't started looking much at serverless yet. Any plans to support Google Cloud Functions?
Jay V
@ksimons Thank you! Yeah it's on our roadmap and something we want to support.
Jay V
Hi Product Hunt, We are Jay and Frank and we are building SST. We've been serverless community members and builders since 2016. We had originally created Serverless Stack (https://serverless-stack.com) as a guide for building serverless apps. Over the years we noticed that our readers had a really hard time testing and debugging their Lambda functions. And there aren't any good solutions out there. For some background, there are two main approaches to local Lambda development. 1) Locally mock all the services that your Lambda function uses. So if your Lambda functions are invoked by an API endpoint, you'll run a local server mocking the API. However, if your Lambda functions are invoked asynchronously or need authentication, it becomes really hard to set this up. 2) You'll need to redeploy your changes to test them. You'll make a change to a Lambda function, deploy that specific function, trigger your workflow, and wait for CloudWatch logs to show your debug messages. This can take a couple of minutes and can be really painful. So we created SST. The `sst start` command deploys your serverless app and deploys a small _debug_ stack (a WebSocket API and DynamoDB table) along with it. It'll then stream any Lambda invocations to your local client, run them locally, and send back the results. This means that you can make changes to your Lambda functions and test them live! It supports all the Lambda function triggers, without having to mock anything. Debug logs are printed right away to your local console. And there are no third-party services involved. You can read more about SST over on our docs (https://docs.serverless-stack.com) and check out some examples (https://serverless-stack.com/exa...). Thank you for reading about our project. We'll appreciate it if you took it for a spin and gave us some feedback.
Pål Brattberg
I love what the team has done here! The live-development workflow is a game changer for me! Moving away from Serverless Framework to SST currently! Awesome support on Slack from the team as well! 👏
Jay V
@pal Thank you for the kind words Pal! And really appreciate your support!
Devin Ford
I’ve recently began using the tutorial written by your team to learn your stack, and I love how easy it is to get up and running. I have to start doing some backend coding at my job, and our backend lead used serverless-stack to set everything up and he has nothing but amazing things to say about it. So far it’s been a great experience and the learning curve isn’t bad at all. Great work! Look forward to using it on future projects as well!
Jay V
@devindford Thanks Devin! I'm glad that it's been working well for you and your team!
Shun Pang
Totally agree with point 2! One of the biggest downsides of serverless for us is the somewhat black box nature of the stack, requiring deployment and CloudWatch to debug - as we've found offline mocks do not properly replicate the live environment.. would love some help getting this set up
Jay V
@shunp Yeah mocking can get really tricky for async workflows or when there are multiple triggers.
Martin C
I feel like the votes in this project misrepresents its awesomeness
Jay V
@martin_carrica1 haha thanks for the confidence boost Martin!
Joseph Metzinger
Any plans to support python?
Jay V
@joseph_metzinger Yup definitely! It's on our roadmap.
Dax Raad
Been using this on my latest project - definitely the best way to do serverless right now
Jay V
@thdxr That's awesome to hear!
Jordan Bryan
Can't wait to try this!
Jay V
@jordan_bryan Awesome! Would love to hear what you think!
Sydney Cohen
This looks like something I would use
Max Prilutskiy
Launching soon!
Interesting idea! 💯
NIKHIL BABY SUNNY
Nice