Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

Rodney Lab sveltekit-netlify-functions Github banner



Rodney Lab logo



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).