Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.47 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.47 KB

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.