The fastest way to build serverless apps
Launch now with AWS, Google Cloud, Azure and more.
api.ts
Terminal
Serverless Power-Ups
Accelerator features that run the same everywhere.
Functions & APIs
Serverless functions and APIs, with code sharing, security and unlimited scale.
Storage
Read and write large files including images, videos and docs.
Messaging
Build reliable distributed apps that communicate through events and queues.
Secrets
Securely store, retrieve and rotate API keys, database credentials and more.
Eliminate 1000s of lines of config. Seriously.
Nitric interprets your app and detects the best infrastructure to run it. Stop hand cutting config and markup for your deployments. Let your code do the talking.Learn moreapi.ts
import { api, bucket } from '@nitric/sdk'// Declare the resources you need and what they're forconst images = bucket('profile-pics').for('reading')// Create an API with codeconst picsApi = api('pics')// Define routes and handlers for your APIpicsApi.get('profiles/:fileName', async(ctx) => {const { fileName } = ctx.req.params// Simply use the resource, no deployment scripts neededctx.res.body = await images.file(fileName).read()return ctx})
Terminal
Run local, launch global
Create your prototype in minutes and run locally with the Nitric CLI.
Ready for the world? Nitric can push to AWS, Google Cloud or Azure from a single codebase.
Build and deploy in minutes, instead of months
With Nitric, it's simple to build, test, and deploy to the cloud using the patterns you know. See how to use Nitric to create a cloud document collection to store user profiles; backed completely by a serverless API.Follow the guidethe open source cloud frameworkBuild your next cloud project