Simple SvelteKit template that uses a Postgres database.
Simple SvelteKit template that uses a Postgres database.
https://postgres-sveltekit.vercel.app/
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel
Execute the following command to download the example into the
my-project
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
.env.example
.env.local
.env.local
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:
vercel env pull .env.local
Next, run SvelteKit in development mode:
pnpm dev
Deploy it to the cloud with Vercel (Documentation).
Simple SvelteKit template that uses a Postgres database.
Simple SvelteKit template that uses a Postgres database.
https://postgres-sveltekit.vercel.app/
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel
Execute the following command to download the example into the
my-project
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
.env.example
.env.local
.env.local
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:
vercel env pull .env.local
Next, run SvelteKit in development mode:
pnpm dev
Deploy it to the cloud with Vercel (Documentation).