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.jsongenerated by Amplify CLI on build time or sandbox mode and should not be modified manually and so it is.gitignored.amplify_outputs.jsonis loaded by ./src/routes/+layout.svelte.- Using
aws-amplifyas 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 devMIT