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:
- Create an Upstash instance and obtain the required keys.
- Create a
.envfile in the project directory and add the necessary keys. Refer to thesample.envfile for reference. - Install project dependencies by running
npm install(orpnpm installoryarn). - Start the development server by running
npm run dev(orpnpm run devoryarn 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.