sst
SST makes it easy to build modern full-stack applications on AWS.
The sst
package is made up of the following.
-
sst
CLI -
sst/node
Node.js client -
sst/constructs
CDK constructs
Installation
Install the sst
package in your project root.
npm install sst --save-exact
Usage
Once installed, you can run the CLI commands using.
npx sst <command>
Import the Node.js client in your functions. For example, you can import the Bucket
client.
import { Bucket } from "sst/node/bucket";
And import the constructs you need in your stacks code. For example, you can add an API.
import { Api } from "sst/constructs";
For more details, head over to our docs.