nitric
serverless
Our great sponsors
nitric | serverless | |
---|---|---|
27 | 24 | |
774 | 2,208 | |
13.3% | - | |
8.8 | 0.0 | |
about 14 hours ago | about 2 months ago | |
Go | TypeScript | |
Apache License 2.0 | MIT License |
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.
nitric
-
Release Radar • February 2024 Edition
For all those on the hunt for a framework, Nitric is here for you. It's a multi-language framework that helps teams quickly build cloud applications. Nitric unites backend and infrastructure code and automates the process of provisioning and deploying infrastructure. The first major version brings a bunch of changes including significant improvements to the Nitric CLI to support productive cloud development. There's also new architecture visualizations and a new SDK for building and extending Nitric providers. Congrats to the team on shipping your very first version 🥳.
-
Achieve GitOps on Day One with IaC Automation
Compare the following diagram to the one shown above. This flow addresses some of the concerns raised previously by using an automation framework to eliminate some of the assets that were originally manually crafted. We’re using our open source Nitric Framework in this example; other tools can be used to automate pieces of this flow as well.
For those interested in exploring this approach further, consider exploring Nitric.
-
Your first API with GO & Nitric
In this exploration, we created a Profile Management API using Nitric, handled core profile operations, and extended it for image management.
-
Client & server-side validation with Zod.
On the server-side, you will typically use Zod validation in your route handlers, immediately after receiving a request. Here's an example using the Nitric framework:
-
nitric VS encore - a user suggested alternative
2 projects | 9 Dec 2022
-
Building your first API with Nitric in Python
Nitric is a serverless framework for rapidly developing and deploying cloud applications.
-
The Current State of Infrastructure From Code
Nitric
-
Confused around serverless trends and need opinion on the architecture.
I've been working on a framework to help with these exact sorts of applications. Internally it uses pulumi for deployments. The docs are all for Node.js currently, but we're actively adding other languages too. https://nitric.io
-
Contributors to AWS Lambda container cold starts
Nitric allows developers to build serverless functions that run on various compute services from multiple cloud vendors. One of the most commonly used is AWS Lambda. One of AWS Lambda's strengths - dynamic scaling - can also be a challenging drawback due to a phenomenon known as Cold Starts.
serverless
-
Confused around serverless trends and need opinion on the architecture.
I don't know any tutorials that cover all of these, but check out: https://cdkpatterns.com/ for 1) https://docs.aws.amazon.com/cdk/v2/guide/cdk_pipeline.html for 2) 3) and 5) https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-cdk-testing.html for 4)
-
Why are pulumi examples repo not showing good re-useable design patterns
I would like to see re-useable design patterns advocated similar to the terraform/terragrunt modules concepts. Encouraging pulumi.ComponentResource definitions multi environment structure, best practices. The cdk guys have something similar https://cdkpatterns.com/.
-
Building a Flutter application (for Web) with AWS Lambda Function URL backend using AWS CDK Pipelines (written in Java)
While writing this post, the four stacks combined are 129 lines of source code. With the help of the CDK Constructs that are being used this translates to over 1k lines of code in CloudFormation. We are only using L2 constructs here – there is way more constructs available that you can use in the Constructs Hub and also a lot of guidance regarding the usage of CDK over at CDKPatterns.
-
In a serverless architecture, is it best to handle all API methods of a single entity in one lambda function with one API endpoint, or create an API endpoint for each and a lambda as a result?
Here is your answer.
I use the "Lambda-lith" pattern, primarily because I am using Rust and deploying via CI/CD (codepipeline).
-
Learning Lambda
Here is a read of common lambda design pattern https://github.com/cdk-patterns/serverless/blob/main/the-lambda-trilogy/README.md
-
What Are AWS CDK Constructs, Stacks and How To Use Them
A simple web service using API Gateway, Lambda and DynamoDB
Level 3 constructs are opinionated units of reusable code which often deliver a service. Open source level 3 constructs are available from AWS Solutions Constructs - an extension to the CDK, CDK Patterns - a library of well-architected patterns, Construct Hub - a library of open-source constructs and some even come out of the box with the CDK - these are appended with 'patterns' to make them identifiable. Two examples are shown below:
-
The Evolution of AWS from a Cloud-Native Development Perspective: Serverless, Event-Driven, Developer-Friendly, Sustainable
Freshly at the helm of AWS, Adam Selipsky held his first re:Invent Keynote. Selipsky’s primary message: AWS is shifting from merely offering infrastructure primitives to embracing the idea of being a so-called platform of platforms. Therefore, AWS’s offerings will increasingly become an interesting piece of organizational value chains. While Amazon CTO Werner Vogels took the stage after an introduction referencing Fear and Loathing in Las Vegas, his keynote wasn’t as spectacular. Dr. Vogels took the time to make a case for Well-Architected applications, which we interpret as a good signal for builders. Other highlights were the release of Construct Hub and the CDK Patterns library.
-
CDK Lessons Learned
The high level (level 3) constructs as well as open source versions (like CDK patterns and Construct Hub) accelerate your application development by providing patterns that ensure your architecture is scalable, cost effective and secure.
What are some alternatives?
nx-serverless - 🚀 The Ultimate Monorepo Starter for Node.js Serverless Applications
lift - Expanding Serverless Framework beyond functions using the AWS CDK
terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
terraform-aws-appsync - Terraform module to create AWS AWS AppSync resources 🇺🇦
terraform-aws-next-js - Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
sst-start-demo - A simple SST app to demo the new `sst start` command
aws-sam-typescript-layers-example - Example project for developing AWS Lambda functions on TypeScript with all goodies: local development, tests, debugging, shared layers (3rd party and your own), and deploy.
typedorm - Strongly typed ORM for DynamoDB - Built with the single-table-design pattern in mind.
valheim-ecs-fargate-cdk - AWS CDK/Cloudformation to deploy a Valheim Server using ECS Fargate!
org-formation-cli - Better than landingzones!
sns-sqs-big-payload - Amazon SNS/SQS client library that enables sending and receiving messages with payload larger than 256KiB via Amazon S3.
serverless-adapter - Run REST APIs and other web applications using your existing Node.js application framework (NestJS, Express, Koa, tRPC, Fastify and many others), on top of AWS, Azure, Huawei and many other clouds.