An example app using SST, Remix and tRPC to create a modern and typesafe project.
A simple web app to keep track of the mountains you have climbed 🥾!
- List all Mountains - GET
- Create Mountain - POST
- Delete Mountain - DELETE
- Integrate OpenAI API for text summary (Optional)
- API: AWS Lambda
- DB: DynamoDB
- CloudFront Distribution
- Assets: S3 Bucket
- Remix SSR: AWS Lambda
Clone and install dependencies
yarn
Follow the guide here or use your existing AWS profile.
Make sure to update the AWS profile name in sst.config.ts
providers: {
aws: {
profile: input.stage === "production" ? "" : "CHANGE_THIS" <----
}
}
Only set this if you want to see how the summaries are generated for mountains added
npx sst secret set OPENAI_API_KEY CHANGE_THIS
npx sst dev
npx sst deploy
For more information read the SST docs