serverless-offline
serverless-application-model
Our great sponsors
serverless-offline | serverless-application-model | |
---|---|---|
18 | 98 | |
5,112 | 9,219 | |
- | 0.3% | |
8.7 | 8.9 | |
9 days ago | 7 days ago | |
JavaScript | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serverless-offline
-
Introducing samp-cli for local lambda debugging
Using local emulators like sam local, serverless-offline, localstack, etc.
-
There is framework for everything.
https://github.com/dherault/serverless-offline https://github.com/lambci/docker-lambda
-
Migrating a classic Express.js to Serverless Framework
With classic Express servers, you can use a simple node script to get the server up and running to test locally. Serverless wants to be run in the AWS ecosystem making it. Lucky for us, David Hérault has built and continues to maintain serverless-offline allowing us to emulate our functions locally before we deploy.
-
3 Steps To Faster Serverless Development
With the serverless offline plugin you can speed up local dev is by emulating AWS lambda and API Gateway locally when developing your Serverless project.
-
A magical AWS serverless developer experience
serverless-offline (https://github.com/dherault/serverless-offline) is a great tool to use for local development of serverless applications.
It's not a complete mirror image of what you get but it's close enough in my experience.
-
Deploy a REST API using Serverless, Express and Node.js
First, let’s use the serverless-offline plugin. This plugin helps to emulate the API Gateway environment for local development.
-
Running a scalable & reliable GraphQL endpoint with Serverless
cd app-backend/dynamodb yarn install To test the GraphQL endpoint locally on my machine, I’m using these three plugins for the Serverless Framework: Serverless Offline, Serverless Webpack and Serverless DynamoDB Local.
-
Developing against the Cloud
There are some great tools such as serverless offline, SAM local, and the architect framework, but I propose that we consider a different way forward - a cloud development environment.
-
Debugging Chronicles: Serverless offline + Sequelize
Gradually, after spying and comparing the requests on Postman, after redirecting local to deployed URLs and vice-versa, and having check environment variables everywhere, the only possible candidate had to do Serverless offline, which was also updated from 5.x to 6 (We overlooked that, because we already manually fixed all the breaking changes listed in their changelog and everything was fine when testing via postman ).
- Ask HN: Does anyone else find the AWS Lambda developer experience poor?
serverless-application-model
-
Simple and Cost-Effective Testing Using Functions
The complete solution with SAM is available here.
-
Deploying a Serverless Dash App with AWS SAM and Lambda
There are many options to deploy Serverless Applications in AWS and one of them is SAM, the Serverless Application Model. I chose to use it here, because it doesn't add too many layers of abstraction between what's being deployed and the code we write and our infrastructure is quite simple.
-
Serverless Apache Zeppelin on AWS
The solution uses AWS SAM with the global configuration for Lambda functions and the public API you can use to access Apache Zeppelin. The stack deployment provides the URL as an output value.
-
Serverless Site Health Check Notification System
I'm a big fan of using an Infrastructure as Code (IaC) approach for any project. My go to tools for this are the Servlerless Application Model (SAM) and it's associated CLI (SAM CLI). For more official use cases and for cross platform apps I typically use Terraform.
-
Starting My AWS Certification Journey as a Certified Cloud Practitioner
AWS SAM
-
API Gateway, Lambda, DynamoDB and Rust
Kicking off the tour and not starting a war, but I'm going to be using the Serverless Application Model.
-
Consuming an SQS Event with Lambda and Rust
The diagram here is super simple. I'm going to write something a little later that shows how this code could fit into a bigger workflow, but for now, I'm keeping it basic. And yes, that's the SAM Squirrel in there.
-
AWS Data Engineer Associate Certification - Coming Soon
Interestingly, AWS CDK and SAM are both explicitly mentioned. While CDK broadly addresses Infrastructure as Code, SAM is highlighted for its role in developing serverless data pipelines - a hugely underrated concept.
-
A Beginner's Guide to the Serverless Application Model (SAM)
Naturally, there are several options available to declare your cloud resources. The options with the most popularity are the CDK, AWS CloudFormation, SST, Serverless framework, Terraform, and AWS SAM. There are others, but when talking about Infrastructure as Code (IaC), these are the ones you hear about most often.
-
SpringBoot Serverless REST API - ApiGateway+Lambda, deployed using AWS SAM
https://aws.amazon.com/lambda/ https://aws.amazon.com/api-gateway/ https://aws.amazon.com/serverless/sam/ https://aws.amazon.com/cloudformation/ https://aws.amazon.com/s3/ https://spring.io/projects/spring-boot https://start.spring.io
What are some alternatives?
aws-elastic-beanstalk-cli - The EB CLI is a command line interface for Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository.
supertest - 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
aws-lambda-dotnet - Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment
bref - Serverless PHP on AWS Lambda
sst - Build modern full-stack applications on AWS
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
sst-start-demo - A simple SST app to demo the new `sst start` command
serverless-offline-sns - A serverless plugin to run an SNS server and call lambdas with events notifications.
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.