Open-source TypeScript and Go backend framework where databases, Pub/Sub, buckets, caches and cron jobs are declared in code and run locally, then deployed to your AWS or GCP account.
nitrictech/nitric
Multi-language framework for cloud backends that infers infrastructure from application code and deploys to AWS, GCP, or Azure.
- Stars
- 2,018
- Forks
- 123
- Open issues
- 43
- Last commit
- 6 days ago
What is it?
Nitric is a framework for building cloud backends where the infrastructure is declared inside the application code. You write APIs, buckets, queues, topics, key-value stores or databases directly in code, and Nitric works out the required cloud resources and the IAM permissions between them, so you do not have to hand-write Terraform or other IaC files for the common cases.
Applications are written with SDKs for JavaScript, TypeScript, Python, Go and Dart. The deployment layer generates configuration for Pulumi or Terraform, and custom providers can be built for other automation tools. The project also includes a local development mode with a dashboard.
The project is aimed at teams that want to keep application logic portable across AWS, GCP, Azure or Kubernetes without coupling code to a specific cloud's resource model, while still having escape hatches for custom infrastructure.
Key features
- 01Infers cloud infrastructure and IAM permissions from application code
- 02SDKs for JavaScript, TypeScript, Python, Go and Dart
- 03Deploys to AWS, GCP and Azure, with Pulumi or Terraform as deployment backends
- 04Supports custom providers for other IaC tools
- 05Provides common resources such as APIs, buckets, queues, topics and key-value stores
Use cases
- Building serverless APIs that need storage and messaging without writing IaC by hand
- Keeping one application portable across multiple cloud providers
- Prototyping cloud services with a local development environment
Quick start
- 1
Install Nitric on macOS with Homebrew
brew install nitrictech/tap/nitric - 2
On Windows, add the Nitric Scoop bucket
scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git - 3
On Windows, install Nitric with Scoop
scoop install nitric - 4
Start building your first app
nitric new
Things to know
- Installing on Linux requires running a remote install script from the README, which is not a package-manager install.
- Infrastructure deployment supports AWS, GCP and Azure out of the box, so other clouds need custom providers.
In collections
Topics
FAQ
- What is nitric?
- Multi-language framework for cloud backends that infers infrastructure from application code and deploys to AWS, GCP, or Azure. Nitric is a framework for building cloud backends where the infrastructure is declared inside the application code. You write APIs, buckets, queues, topics, key-value stores or databases directly in code, and Nitric works out the required cloud resources and the IAM permissions between them, so you do not have to hand-write Terraform or other IaC files for the common cases.
- Is nitric free to use? What license does it have?
- nitric is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is nitric still maintained?
- Actively maintained. The last commit to nitric was on Oct 17, 2026.
- What can I use nitric for?
- Building serverless APIs that need storage and messaging without writing IaC by hand Keeping one application portable across multiple cloud providers Prototyping cloud services with a local development environment
- How do I install nitric?
- Install Nitric on macOS with Homebrew: brew install nitrictech/tap/nitric On Windows, add the Nitric Scoop bucket: scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git On Windows, install Nitric with Scoop: scoop install nitric Start building your first app: nitric new
- Where can I get nitric?
- The source code and installation instructions are on GitHub: https://github.com/nitrictech/nitric
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Infrastructure as Code CLI and engine that lets you define and deploy cloud resources using general-purpose programming languages.
Meshery is an open source cloud native manager for designing, deploying and operating Kubernetes infrastructure and applications across multiple clusters and clouds.
Open source cost monitoring for Kubernetes workloads and multi-cloud spend, with allocation by cluster, namespace, and pod.
Open-source cloud cost estimation for Terraform, Terragrunt, CloudFormation and AWS CDK, shown before infrastructure changes are deployed.
Generates cloud architecture diagrams for AWS, Azure and GCP from AI prompts, JSON graphs or Terraform code, with official cloud icons.