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.

Explore Features

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 more
api.ts
import { api, bucket } from '@nitric/sdk'
// Declare the resources you need and what they're for
const images = bucket('profile-pics').for('reading')
// Create an API with code
const picsApi = api('pics')
// Define routes and handlers for your API
picsApi.get('profiles/:fileName', async(ctx) => {
const { fileName } = ctx.req.params
// Simply use the resource, no deployment scripts needed
ctx.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 guide
the open source cloud frameworkBuild your next cloud project