From 6415009f075b6d973d3dca472aa4c0c93349d9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 12 Feb 2025 11:01:26 +0100 Subject: [PATCH] Add SvelteKit Appwrite template --- app/config/site-templates.php | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/app/config/site-templates.php b/app/config/site-templates.php index 64696cedfa..f9ea1b5416 100644 --- a/app/config/site-templates.php +++ b/app/config/site-templates.php @@ -127,6 +127,56 @@ return [ 'providerVersion' => '0.2.*', 'variables' => [], ], + [ + 'key' => 'sveltekit-with-appwrite', + 'name' => 'SvelteKit with Appwrite', + 'useCases' => ['starter'], + 'demoUrl' => '', + 'demoImage' => '', + 'frameworks' => [ + getFramework('SVELTEKIT', [ + 'providerRootDirectory' => './', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'starter-for-svelte', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.1.*', + 'variables' => [ + [ + 'name' => 'PUBLIC_APPWRITE_ENDPOINT', + 'description' => 'Endpoint of Appwrite server.', + 'value' => 'https://cloud.appwrite.io/v1', + 'placeholder' => 'https://cloud.appwrite.io/v1', + 'required' => true, + 'type' => 'text' + ], + [ + 'name' => 'PUBLIC_APPWRITE_PROJECT_ID', + 'description' => 'Your Appwrite project ID.', + 'value' => '', + 'placeholder' => '67ab5b6d000db4f5f59d', + 'required' => true, + 'type' => 'text' + ], + [ + 'name' => 'PUBLIC_APPWRITE_PROJECT_NAME', + 'description' => 'Your Appwrite project name.', + 'value' => '', + 'placeholder' => 'My project', + 'required' => true, + 'type' => 'text' + ], + [ + 'name' => 'PUBLIC_APPWRITE_VERSION', + 'description' => 'Version of Appwrite server.', + 'value' => '1.7.0', + 'placeholder' => '1.7.0', + 'required' => true, + 'type' => 'text' + ], + ], + ], [ 'key' => 'astro-starter', 'name' => 'Astro starter website',