SST SvelteKit Starter
The SST SvelteKit Starter is a starter template for building a full stack application using SvelteKit and SST (Serverless Stack). It is designed and maintained by Okupter. SST is a framework that simplifies the process of building serverless applications on AWS by providing a simple, composable, and framework agnostic infrastructure. This starter template includes a SvelteKit application, an SST infrastructure, and various stacks that define the serverless infrastructure components such as API, authentication, RDS database, and S3 bucket.
To install and set up the SST SvelteKit Starter, follow these steps:
.env.example file to .env and update the values.AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables with your AWS account IAM user (with programmatic access) credentials..env file with the GOOGLE_API_CLIENT_ID obtained from the Google OAuth setup.secret some-stack-gitlab-ci/cicd ~/my-secret-file.txt
pnpm sst dev to start the SST environment locally and obtain the API stack URL from the terminal output./auth/google/callback.https://console.sst.dev/sst-sveltekit-starter (replace sst-sveltekit-starter with the actual name of the SST infrastructure defined in sst.config.ts).The SST SvelteKit Starter is a comprehensive starter template for building full stack applications with SvelteKit and SST. It provides the necessary infrastructure and configurations to get started quickly. The template includes features such as a pre-configured SvelteKit application, authentication using Google OAuth, and infrastructure stacks for API, RDS database, and S3 bucket. The installation process involves setting up dependencies, environment variables, and configuring Google OAuth. With this starter template, developers can easily start building and deploying serverless applications on AWS.