View sdk.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'isomorphic-form-data'; | |
import { fetch } from 'cross-fetch'; | |
namespace Models { | |
/** | |
* Documents List | |
*/ | |
export type DocumentList<Document extends Models.Document> = { | |
/** | |
* Total number of documents documents that matched your query. |
View docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WARNING! | |
# This is a development version of THE Appwrite docker-compose.yml file. | |
# Avoid using this file in your production environment. | |
# We're exposing here sensitive ports and mounting code volumes for rapid development and debugging of the server stack. | |
version: '3' | |
x-env-defaults: &x-env-defaults |- | |
_APP_ENV | |
_APP_LOCALE |
View sdk.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'isomorphic-form-data'; | |
import { fetch } from 'cross-fetch'; | |
type Payload = { | |
[key: string]: any; | |
} | |
type Headers = { | |
[key: string]: string; | |
} |
View .env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_APP_ENV=production | |
_APP_LOCALE=en | |
_APP_CONSOLE_WHITELIST_ROOT=enabled | |
_APP_CONSOLE_WHITELIST_EMAILS= | |
_APP_CONSOLE_WHITELIST_IPS= | |
_APP_SYSTEM_EMAIL_NAME=Appwrite | |
_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io | |
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=security@appwrite.io | |
_APP_SYSTEM_RESPONSE_FORMAT= | |
_APP_OPTIONS_ABUSE=disabled |
View nginx.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 80; | |
listen 443; | |
# config for setting up and handling Appwrite SSL |
View index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "package-name" { | |
export class Client { | |
/** | |
* Set endpoint. | |
* | |
* @param {string} endpoint | |
* | |
* @return {this} | |
*/ | |
setEndpoint(endpoint: string): Client; |
View install.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Love open-source, dev-tooling and passionate about code as much as we do? | |
# --- | |
# We're always looking for awesome hackers like you to join our 100% remote team! | |
# Check and see if you find any relevant position @ https://appwrite.io/company/careers | |
# (and let us know you found this message...) | |
# This script contains hidden JS code to allow better readability and syntax highlighting | |
# You can use "View source" of this page to see the full script. | |
# Appwrite CLI location |
View ChristmasTree.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package christmastree; | |
import java.util.Scanner; | |
/** |