SvelteKit + Amplify Gen2 (Hosting, Backend)
- Authentication flow on Server-side rendering (SSR)
- Utility components for Amplify and authentication
- Copy or Fork this repository
- Connect your repository in the Amplify Console
- Done
amplify_outputs.json
generated by Amplify CLI on build time or sandbox mode and should not be modified manually and so it is.gitignore
d.amplify_outputs.json
is loaded by ./src/routes/+layout.svelte.- Using
aws-amplify
as ssr-mode.
- https://docs.aws.amazon.com/amplify/latest/userguide/get-started-sveltekit.html
- https://github.com/gzimbron/amplify-adapter
npm install
npm run sandbox
npm run dev
MIT