https://github.com/shepherdwind/kids-reward
https://github.com/shepherdwind/kids-reward
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shepherdwind/kids-reward
- Owner: shepherdwind
- Created: 2024-02-16T09:30:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T13:23:20.000Z (about 2 years ago)
- Last Synced: 2025-11-14T12:04:54.067Z (8 months ago)
- Language: Svelte
- Homepage: https://kids-reward.vercel.app
- Size: 1.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
name: Vercel Postgres SvelteKit Starter
slug: postgres-sveltekit
description: Simple SvelteKit template that uses Vercel Postgres as the database.
framework: Svelte
useCase: Starter
css: Tailwind
database: Vercel Postgres
deployUrl: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fstorage%2Fpostgres-sveltekit&project-name=postgres-sveltekit&repository-name=postgres-sveltekit&demo-title=Vercel%20Postgres%20Starter%sveltekit&demo-description=Simple%20Svelte.js%20template%20that%20uses%20Vercel%20Postgres%20as%20the%20database.&demo-url=https%3A%2F%2Fpostgres-sveltekit.vercel.app%2F&demo-image=https%3A%2F%2Fpostgres-starter.vercel.app%2Fopengraph-image.png&stores=%5B%7B"type"%3A"postgres"%7D%5D
demoUrl: https://postgres-sveltekit.vercel.app/
relatedTemplates:
- postgres-starter
- postgres-prisma
- postgres-kysely
---
# Vercel Postgres SvelteKit Starter
Simple SvelteKit template that uses [Vercel Postgres](https://vercel.com/postgres) as the database.
## Demo
https://postgres-sveltekit.vercel.app/
## How to Use
You can choose from one of the following two methods to use this repository:
### One-Click Deploy
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples)
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fstorage%2Fpostgres-sveltekit&project-name=postgres-sveltekit&repository-name=postgres-sveltekit&demo-title=Vercel%20Postgres%20Next.js%Sveltekit&demo-description=Simple%20Next.js%20template%20that%20uses%20Vercel%20Postgres%20as%20the%20database.&demo-url=https%3A%2F%2Fpostgres-sveltekit.vercel.app%2F&demo-image=https%3A%2F%2Fpostgres-starter.vercel.app%2Fopengraph-image.png&stores=%5B%7B"type"%3A"postgres"%7D%5D)
### Clone and Deploy
Execute the following command to download the example into the `my-project` folder:
```bash
npx degit@latest https://github.com/vercel/examples/storage/postgres-sveltekit my-project
```
Once you've created the project and installed dependencies with `pnpm install`, copy the `.env.example` file in this directory to `.env.local` (which will be ignored by Git). Then open `.env.local` and set the environment variables to match the ones in your Vercel Storage Dashboard.
Alternatively, if you have setup a project already and you have installed the Vercel CLI, you can also pull the environment variables using the following command:
```bash
vercel env pull .env.local
```
Next, run SvelteKit in development mode:
```bash
pnpm dev
```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples) ([Documentation](https://vercel.com/docs/frameworks/sveltekit)).