mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 12:57:49 +00:00
Reviewed all SSR tutorials
This commit is contained in:
@@ -43,7 +43,7 @@ cd my-svelte-project
|
||||
npm install
|
||||
```
|
||||
|
||||
# Adding `node-appwrite` to Your Svelte App
|
||||
# Install Appwrite {% #install-appwrite %}
|
||||
|
||||
Appwrite provides a Node SDK that can be used in your Svelte apps. You can use Appwrite by installing the Node SDK as an NPM package.
|
||||
The Node SDK is intended for server-side use. If you want to use Appwrite in a client-side application, you should [use the Web SDK instead](/docs/tutorials/svelte-auth).
|
||||
|
||||
@@ -25,7 +25,7 @@ Add a new server route to handle the redirect.
|
||||
```js
|
||||
// src/routes/signin/+page.server.js
|
||||
|
||||
// ..
|
||||
// ... existing imports
|
||||
|
||||
|
||||
import { SESSION_COOKIE, createAppwriteClient } from '$lib/server/appwrite.js';
|
||||
|
||||
Reference in New Issue
Block a user