Sveltekit Edge Guestbook screenshot

Sveltekit Edge Guestbook

Author Avatar Theme by Geoffrich
Updated: 17 Dec 2022
7 Stars

Categories

Overview

The “sveltekit-edge-guestbook” is a demo project that showcases the process of building a guest book using SvelteKit and Upstash Redis, and deploying it to Vercel Edge Functions. The project allows users to run the guest book locally by creating an Upstash instance and setting up the required keys in a .env file.

Features

  • SvelteKit and Upstash Redis: Utilizes the SvelteKit framework and Upstash Redis database for building the guest book.
  • Vercel Edge Functions Deployment: Demonstrates how to deploy the guest book to Vercel Edge Functions for efficient and scalable hosting.
  • Local Development: Provides instructions on how to set up a development server and install dependencies for local testing.

Installation

To install and run the “sveltekit-edge-guestbook” project, follow these steps:

  1. Create an Upstash instance and obtain the required keys.
  2. Create a .env file in the project directory and add the necessary keys. Refer to the sample.env file for reference.
  3. Install project dependencies by running npm install (or pnpm install or yarn).
  4. Start the development server by running npm run dev (or pnpm run dev or yarn dev).

Summary

The “sveltekit-edge-guestbook” demo project highlights the use of SvelteKit and Upstash Redis for building a guest book. It also provides guidance on deploying the project to Vercel Edge Functions. By following the installation instructions, users can easily set up and run the project locally for testing and development purposes.