Skip to content

jasper95/sst-template

Repository files navigation

How to add JWT authorization with Cognito User Pool to a serverless API

An example serverless app created with SST.

Getting Started

Read the tutorial

Install the example.

$ npx create-sst@latest --template=examples/api-auth-jwt-cognito-user-pool
# Or with Yarn
$ yarn create sst --template=examples/api-auth-jwt-cognito-user-pool
# Or with PNPM
$ pnpm create sst --template=examples/api-auth-jwt-cognito-user-pool

Commands

npm run dev

Starts the Live Lambda Development environment.

npm run build

Build your app and synthesize your stacks.

npm run deploy [stack]

Deploy all your stacks to AWS. Or optionally deploy, a specific stack.

npm run remove [stack]

Remove all your stacks and all of their resources from AWS. Or optionally removes, a specific stack.

Documentation

Learn more about the SST.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published