Nitric is a versatile multi-language framework that simplifies building cloud applications with infrastructure as code. With Nitric, you can easily manage resources, switch services or providers without rewriting code, and run applications locally. Designed to enhance productivity, Nitric turns the complexities of modern application development into a seamless experience.
Nitric is an innovative multi-language framework designed to simplify the development of cloud applications through concise inline infrastructure as code. With Nitric, building robust, productive, and enjoyable applications is within reach. This framework addresses common challenges faced by developers in modern cloud environments:
- Seamless Infrastructure from Code: Easily define and provision your infrastructure directly from code.
- Host-Agnostic: Build applications ready to deploy to any cloud host without the constraints of coupling.
- Local Development: Leverage local cloud environments for testing and development before deployment.
- User-Centric IAM: Implement access control with an intuitive interface that prioritizes usability.
- Comprehensive Resource Management: Utilize essential resources like databases, messaging queues, APIs, key-value stores, and storage buckets, all seamlessly integrated into your application.
- Flexibility with Providers: Change cloud providers or infrastructure as code tools without the need to alter your existing codebase, allowing you to adapt to evolving project requirements.
Nitric empowers developers with powerful escape hatches that promote customization without obstructing the underlying frameworks.
Supported Languages
Nitric supports a variety of programming languages, ensuring you can use it with your preferred tech stack:
Supported Clouds
Our framework supports major cloud platforms, making cross-cloud deployment straightforward:
Example Usage
Here's an example of how easy it is to create an API and manage a storage bucket with Nitric:
// JavaScript Example
import { api, bucket } from "@nitric/sdk";
const main = api("main");
const notes = bucket("notes").allow("read", "write");
main.post("/notes/:title", async (ctx) => {
const { title } = ctx.req.params;
await notes.file(title).write(ctx.req.text());
});
This concise code snippet is all you need to deploy a fully functional application across any cloud provider utilizing nitric up
. Nitric supports deployment through automatically generated Pulumi, Terraform, or any other automation tools of your choice.
Comprehensive Documentation
Explore complete documentation, concepts, references for different languages, and a variety of tutorials at nitric.io/docs.
Community Engagement
We encourage you to engage with our community:
- Participate in GitHub discussions for questions and insights.
- Connect with us on Discord for real-time support and discussions.
- Follow us on Twitter for updates and news.
- Reach out via email for inquiries or collaboration opportunities.
Contribute
Contributions are welcome! Check out our contributing guide to get started. Join the conversation on Discord or through GitHub discussions.
Discover the simplicity and power of building cloud applications with Nitric today!