Skip to content

chamathpali/my-mountains-remix-trpc

Repository files navigation

⛰️ My Mountains ⛰️

An example app using SST, Remix and tRPC to create a modern and typesafe project.

Features

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)

Tech Stack

Infrastructure on AWS

  • API: AWS Lambda
  • DB: DynamoDB
  • CloudFront Distribution
  • Assets: S3 Bucket
  • Remix SSR: AWS Lambda

Screenshots

List

Screenshot 2024-10-20 at 22 40 21

Create

Screenshot 2024-10-20 at 22 40 39

AI Summary

Screenshot 2024-10-20 at 22 40 50

Dark Mode Supported

Screenshot 2024-10-20 at 22 41 03

Setup Guide

Clone and install dependencies

yarn

Setup AWS

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" <----
        }
}

Setup OpenAI Key (Optional)

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

Start Dev mode

npx sst dev

Deployment

npx sst deploy

For more information read the SST docs

About

An example app/starter for Remix, tRPC, SST and shadcn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published