Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T04:52:03.000Z (over 1 year ago)
- Last Synced: 2024-05-08T23:06:42.030Z (9 months 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[![Netlify Status](https://api.netlify.com/api/v1/badges/258c21cc-4a2c-4add-8b58-42128203863b/deploy-status)](https://app.netlify.com/sites/serene-turing-050367/deploys)
# sveltekit-netlify-functions
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](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).