Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appwrite Network #1484

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
78d99cb
feat: change references to cloud.appwrite.io
christyjacob4 Nov 5, 2024
8b4e6de
feat: update region placeholder
christyjacob4 Nov 5, 2024
ef1dda5
feat: update region placeholder
christyjacob4 Nov 5, 2024
0dd4377
feat: update region placeholder
christyjacob4 Nov 5, 2024
ca5ef13
feat: update WSS endpoints
christyjacob4 Nov 8, 2024
3f5df1b
feat: update base url
christyjacob4 Nov 8, 2024
748de1d
Update Sidebar.svelte
eldadfux Nov 9, 2024
49c11e5
Added overview and regions pages
eldadfux Nov 9, 2024
be44d17
Added more pages
eldadfux Nov 10, 2024
97cbbab
Added the compression page
eldadfux Nov 10, 2024
c65fdd3
Added caching and DDOS pages
eldadfux Nov 11, 2024
cb07167
Fixed broken link
eldadfux Nov 11, 2024
63aa673
Updated navigation
eldadfux Nov 11, 2024
610a130
Updated pricing
eldadfux Nov 12, 2024
1058da7
Added pricing tooltip
eldadfux Nov 12, 2024
d4f776b
Updated enterprise card
eldadfux Nov 12, 2024
3ce48bc
small fixes
eldadfux Nov 12, 2024
e932540
Merge branch 'main' into update-for-network
christyjacob4 Nov 12, 2024
95dce63
chore: linter
christyjacob4 Nov 12, 2024
df73c36
Merge branch 'update-for-network' of github.com:appwrite/website into…
christyjacob4 Nov 12, 2024
be94deb
Updates
eldadfux Nov 12, 2024
1c6383e
feat: update lockfile
christyjacob4 Nov 12, 2024
f148dcd
Merge branch 'main' of https://github.com/appwrite/website into eldad…
TorstenDittmann Nov 12, 2024
5b42d59
Small fixes
eldadfux Nov 13, 2024
acda9d8
Merge remote-tracking branch 'refs/remotes/origin/eldadfux-patch-netw…
eldadfux Nov 13, 2024
7a61bd8
Updated tables
eldadfux Nov 13, 2024
9a3e250
Review fixes
eldadfux Nov 13, 2024
8c5ba4e
Small fixes
eldadfux Nov 13, 2024
5d47fe1
Typos
eldadfux Nov 14, 2024
0c40e7d
Fixed descriptions
eldadfux Nov 14, 2024
562db60
Merge branch 'main' into eldadfux-patch-network
eldadfux Jan 3, 2025
f33150a
Merge branch 'eldadfux-patch-network' into update-for-network
christyjacob4 Feb 5, 2025
f60d4aa
Merge pull request #1476 from appwrite/update-for-network
christyjacob4 Feb 5, 2025
ee303bb
Merge branch 'main' into eldadfux-patch-network
ebenezerdon Feb 5, 2025
f052c9c
Reinstall deps
ebenezerdon Feb 5, 2025
7cff7c1
Add and update network illustration
ebenezerdon Feb 5, 2025
f77fba9
update status
ebenezerdon Feb 5, 2025
09a890c
Merge branch 'main' into eldadfux-patch-network
ebenezerdon Feb 17, 2025
5bc8a8c
Prettier formatting
ebenezerdon Feb 17, 2025
6ab0a31
Add map illustrations
ebenezerdon Feb 18, 2025
1aec66b
Merge branch 'main' into eldadfux-patch-network
ebenezerdon Feb 18, 2025
b91749f
Merge branch 'main' into eldadfux-patch-network
ebenezerdon Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PUBLIC_APPWRITE_COL_MESSAGES_ID=
PUBLIC_APPWRITE_COL_THREADS_ID=
PUBLIC_APPWRITE_DB_MAIN_ID=
PUBLIC_APPWRITE_FN_TLDR_ID=
PUBLIC_APPWRITE_DASHBOARD=
PUBLIC_APPWRITE_ENDPOINT=
PUBLIC_APPWRITE_PROJECT_ID=
PUBLIC_APPWRITE_PROJECT_INIT_ID=
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The Appwrite Website has been built with the following frameworks:

## Development

_If this is your first time setting up the repository, please run `pnpm install` inside the repo's directory._
_If this is your first time setting up the repository, please run `pnpm install` inside the repo's directory and create a `.env` file based on `.env.example`._

To get the repo up and running in your local environment, use the following command:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@appwrite.io/console": "^0.6.4",
"@appwrite.io/pink": "~0.26.0",
"@appwrite.io/pink-icons": "~0.26.0",
"@appwrite.io/repo": "github:appwrite/appwrite#1.6.x",
"@appwrite.io/repo": "github:appwrite/appwrite#feat-multi-region-docs",
"@fingerprintjs/fingerprintjs": "^4.5.1",
"@internationalized/date": "3.5.0",
"@melt-ui/pp": "^0.3.2",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Browsers have a default font size that users can change via the browser setting.
import { Client, Account } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<PROJECT_ID>') // Your project ID

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Now, in your Flutter app, you can use these mock numbers for authentication:
import 'package:appwrite/appwrite.dart';

Client client = Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

Account account = Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import { Client, Account } from "appwrite";
const client = new Client();

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<PROJECT_ID>'); // Your project ID

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Here is what this would look like using Swift.
import Appwrite

let client = Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<PROJECT_ID>") // Your project ID
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key

Expand Down Expand Up @@ -66,7 +66,7 @@ You can send SMS messages using a Server SDK. To send SMS messages immediately,
import Appwrite

let client = Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<PROJECT_ID>") // Your project ID
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key

Expand Down Expand Up @@ -174,7 +174,7 @@ import { Client, Account } from "appwrite";
const client = new Client();

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<PROJECT_ID>'); // Your project ID

const account = new Account(client);
Expand Down Expand Up @@ -243,7 +243,7 @@ One of the most common examples of SDK Enums is OAuth providers. To log in with
import { Client, Account, OAuthProvider } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ import { Appwrite, Databases, Query } from "appwrite";

const client = new Appwrite();
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('articles-demo'); // Your project ID
const databases = new Databases(client);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ import { Client, Account, ID } from 'react-native-appwrite';
const client = new Client();

client
.setEndpoint('http://cloud.appwrite.io/v1') // Your Appwrite Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your Appwrite Endpoint
.setProject('455x34dfkj') // Your project ID
.setPlatform('com.example.myappwriteapp'); // Your application ID or bundle ID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ We then entered the application directory, installed the Appwrite Web SDK and Pi
```js
// ./src/lib/constants.js

export const APPWRITE_ENDPOINT = 'https://cloud.appwrite.io/v1';
export const APPWRITE_ENDPOINT = 'https://<REGION>.cloud.appwrite.io/v1';

export const APPWRITE_PROJECT = '<PROJECT_ID>';

Expand Down
4 changes: 2 additions & 2 deletions src/routes/blog/post/csr-vs-ssr-with-nextjs/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The admin client must be set with an API key that has the necessary scopes in or

```jsx
const adminClient = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>')
.setKey('<API_KEY>')
```
Expand Down Expand Up @@ -90,7 +90,7 @@ The session client accepts the generated session secret and sets it using the `c

```jsx
const sessionClient = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>')
```

Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/post/enhancing-type-safety/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ With the latest release of Appwrite, we have taken steps to improve type safety
import { Client, Account, OAuthProvider } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/post/enums-api-design/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ With the latest release of Appwrite, we have taken steps to improve type safety
import { Client, Account, OAuthProvider } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To define scopes in the Appwrite console, navigate to your function's settings a

```jsx
const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Hardcoded API endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Hardcoded API endpoint
.setProject(process.env.APPWRITE_FUNCTION_PROJECT_ID)
.setKey(process.env.APPWRITE_API_KEY) // Static API key
```
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/post/image-classification/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def main(context):

client = (
Client()
.set_endpoint("https://cloud.appwrite.io/v1")
.set_endpoint("https://<REGION>.cloud.appwrite.io/v1")
.set_project(os.environ["APPWRITE_FUNCTION_PROJECT_ID"])
.set_key(os.environ["APPWRITE_API_KEY"])
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ First, we initialize the login process by sending an email with the magic URL. I
import { Client, Account, ID } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down Expand Up @@ -103,7 +103,7 @@ First, we initialize the login process by sending an email. If the email has nev
import { Client, Account, ID } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down Expand Up @@ -138,7 +138,7 @@ First, we initialize the login process by sending an SMS. If the phone number ha
import 'package:appwrite/appwrite.dart';

final client = Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

final account = Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import { Client, Account, ID } from 'react-native-appwrite';
const client = new Client();

client
.setEndpoint('http://cloud.appwrite.io/v1') // Your Appwrite Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your Appwrite Endpoint
.setProject('455x34dfkj') // Your project ID
.setPlatform('com.example.myappwriteapp'); // Your application ID or bundle ID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Bringing along benefits such as massively reducing friction when using routes th
import { Client, Account, OAuthProvider } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The admin client will need to be initialized with an API key in order to bypass
import { Client } from "node-appwrite"

const adminClient = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>')
.setKey('<YOUR_API_KEY>')
```
Expand All @@ -86,7 +86,7 @@ A session client will allow us to make requests as an authenticated end-user wit

```jsx
const sessionClient = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>')

const session = req.cookies.session
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/post/messaging-explained/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Here’s an example of how you would programmatically send an SMS to a topic usi
const sdk = require('node-appwrite');

const client = new sdk.Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<PROJECT_ID>') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import { Client, Account } from 'appwrite'

// Initialize Appwrite client
const client = new Client()
client.setEndpoint('https://cloud.appwrite.io/v1').setProject('<PROJECT_ID>')
client.setEndpoint('https://<REGION>.cloud.appwrite.io/v1').setProject('<PROJECT_ID>')

// Initialize Account
const account = new Account(client)
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/post/oauth-openid/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Once that is done, you can use any of the Appwrite client SDKs to implement OAut
import { Client, Account, OAuthProvider } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Appwrite Authentication also leverages password hashing algorithms to allow deve
import { Client, Account, ID } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const client = new sdk.Client();
const messaging = new sdk.Messaging(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<PROJECT_ID>') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ All of the Appwrite client SDKs for Web, Flutter, iOS, or Android come with buil
import { Client } from "appwrite";

const client = new Client()
.setEndpoint('<https://cloud.appwrite.io/v1>')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

client.subscribe('account', response => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ import { Client, Account, OAuthProvider } from 'appwrite'

const client = new Client()
client
.setEndpoint('https://cloud.appwrite.io/v1')// The Appwrite API endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')// The Appwrite API endpoint
.setProject('project-id')// Your Appwrite project IDexport const account = new Account(client)
export { OAuthProvider }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ First, we initialize the login process by sending an email with the magic URL. I
import { Client, Account, ID } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down Expand Up @@ -100,7 +100,7 @@ First, we initialize the login process by sending an email. If the email has nev
import { Client, Account, ID } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const account = new Account(client);
Expand Down Expand Up @@ -135,7 +135,7 @@ First, we initialize the login process by sending an SMS. If the phone number ha
import 'package:appwrite/appwrite.dart';

final client = Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

final account = Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const client = new sdk.Client();
const messaging = new sdk.Messaging(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<PROJECT_ID>') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blog/post/understand-data-queries/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ One of the data retrieval APIs the Appwrite Database offers is a list documents
import { Client, Databases, Query } from "appwrite";

const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
.setProject('<PROJECT_ID>');

const databases = new Databases(client);
Expand Down
Loading