juranki / sveltekit-cdk

Tools for deploying SvelteKit to AWS using CDK
https://juranki.github.io/sveltekit-cdk/
MIT License
31 stars 5 forks source link
aws cdk sveltekit

SvelteKit CDK Adapter

WARNING: Not maintained

Have a look at SST instead.

WARNING: Not for production, yet!!

No compatibility between versions is garanteed while in initial development. It's recommended to use exact version in package.json to avoid suprices.

This repo contains tooling to deploy SvelteKit sites to AWS using CDK.

Tools are split to two packages: adapter that plugs into the sveltekit project, and constructs that are imported to CDK project to integrate SvelteKit site to other parts of your system.

Howto

TODO: fill in details

  1. init sveltekit project
  2. init cdk project
  3. add adapter to sveltekit project and point it to cdk project
  4. add constructs to cdk project
  5. optionally edit cdk stacks to
    • hook site up with other resources
    • add custom domain and certificate
    • adjust capacity allocation
    • ...

Status

Links