Skip to content

A starter repo for AWS deployment via SST(ION) infra as code package. It's configured with an SQS queue, and handler & trigger lambdas as an example.

License

Notifications You must be signed in to change notification settings

apetta/sst-ion-starter

Repository files navigation

SST-ION Starter - Deploy to AWS

This project is a TypeScript starter template for building serverless applications using SST and AWS. It's been setup with a lightly opinionated tsconfig & eslintrc to help you get started quickly 🚀

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js (version 18 or later)
  • AWS CLI

Setting Up AWS CLI

  1. Install AWS CLI following the instructions on the official AWS documentation.
  2. Configure AWS CLI with your AWS account credentials by running:
aws configure

Follow the prompts to input your AWS Access Key ID, Secret Access Key. You can leave region and output format empty if desired.

Installation

To set up the project dependencies, run:

pnpm install

Available Scripts

In the project directory, you can run:

pnpm run dev

Runs the app in development mode using SST. The app will reload if you make edits.

pnpm run deploy:dev

Deploys the app to a development stage on AWS using SST.

pnpm run deploy:production

Deploys the app to production on AWS using SST. This script ensures resources are retained even after the stack is removed - just in case 😅

Learn More

To learn more about SST, check out the SST documentation.

For more information on AWS CLI, visit the AWS CLI User Guide.

About

A starter repo for AWS deployment via SST(ION) infra as code package. It's configured with an SQS queue, and handler & trigger lambdas as an example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published