https://github.com/rodneylab/sveltekit-netlify-functions
Demo site showing how to use Netlify functions with SvelteKit
https://github.com/rodneylab/sveltekit-netlify-functions
netlify serverless svelte sveltekit
Last synced: 8 months ago
JSON representation
Demo site showing how to use Netlify functions with SvelteKit
- Host: GitHub
- URL: https://github.com/rodneylab/sveltekit-netlify-functions
- Owner: rodneylab
- License: bsd-3-clause
- Created: 2021-09-02T09:42:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T04:52:03.000Z (almost 3 years ago)
- Last Synced: 2024-05-08T23:06:42.030Z (about 2 years ago)
- Topics: netlify, serverless, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 3.1 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

SvelteKit Netlify Functions
[](https://app.netlify.com/sites/serene-turing-050367/deploys)
# sveltekit-netlify-functions
[](https://stackblitz.com/github/rodneylab/sveltekit-netlify-functions)
SvelteKit demo code for using Netlify Functions with SvelteKit.
See article on using Netlify functions with SvelteKit to chek how to set this up. Drop any questions you have into a comment on that page.
## Building and previewing the site
If you're seeing this, you've probably already done this step. Congrats!
```bash
git clone https://github.com/rodneylab/sveltekit-netlify-functions.git my-new-mdsvex-blog
cd sveltekit-netlify-functions
pnpm install # or npm install
pnpm run dev
```
## Building
```bash
pnpm run build
```
> You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
Feel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).