Nitric is a multi-language framework for building cloud applications. Nitric applications let you define cloud resources inline and deploy to providers like AWS, Google Cloud and Microsoft Azure without writing custom infrastructure deployment code. Start by focusing on your product using standard nitric deployment providers for your cloud of choice, then customize as needed to maintain control.
Nitric makes it easy to:
- Build APIs, Websockets and Schedules in JavaScript, TypeScript, Python, Go and other languages
- Quickly create distributed apps, using async messaging, via Queues and Topics, between services
- Reliably deploy common cloud resources like Services, Buckets, Key/Value Stores, Queues, Secrets and Topics directly from application code
- Build or extend a deployment provider to deploy cloud resources as you see fit
- Deploy applications to different cloud services or cloud providers without changing core application code
Here's what it looks like to build and deploy an API gateway and a service to handle routes with Nitric:
import { api } from "@nitric/sdk";
api("main").get("/hello/:name", async (ctx) => {
const { name } = ctx.req.params;
ctx.res.body = `Hello ${name}`;
});
Deploy this API with the nitric up
command, without writing project specific IaC.
nitric up
-
Ask questions in GitHub discussions
-
Join us on Discord
-
Find us on Twitter
-
Send us an email