sveltekit-adapter-aws-basic-example Svelte Themes

Sveltekit Adapter Aws Basic Example

A basic SvelteKit example webapp using sveltekit-adapter-aws.

SvelteKit Adapter AWS Basic Example

Demonstrates a basic deployed sample webapp on AWS https://sveltekit-adapter-aws-basic-demo.mikebild.com using SvelteKit Adapter AWS.

  1. Setup your AWS Account using the AWS-CLI or AWS-Vault
  2. Clone the repo and install dependencies
    git clone [email protected]:MikeBild/sveltekit-adapter-aws-basic-example.git
    cd sveltekit-adapter-aws-basic-example
    yarn add aws-cdk sveltekit-adapter-aws
    yarn && yarn build
    
  3. Setup and deploy to AWS

svelte.config.js

import { adapter } from 'sveltekit-adapter-aws';
import preprocess from 'svelte-preprocess';

export default {
    preprocess: preprocess(),
    kit: {
        adapter: adapter({
            autoDeploy: true,
            FQDN: 'sveltekit-adapter-aws-basic-demo.example.com',
            stackName: 'sveltekit-adapter-aws-basic-demo'
        })
    }
};

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes