appwrite / server-ce
End to end backend server for frontend and mobile apps.
Installs: 2 270
Dependents: 0
Suggesters: 0
Security: 4
Stars: 45 577
Watchers: 379
Forks: 4 033
Open Issues: 723
Language:TypeScript
Type:project
Requires
- php: >=8.0.0
- ext-curl: *
- ext-dom: *
- ext-imagick: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- ext-pdo: *
- ext-redis: *
- ext-sockets: *
- ext-swoole: *
- ext-yaml: *
- ext-zlib: *
- adhocore/jwt: 1.1.2
- appwrite/php-clamav: 2.0.*
- appwrite/php-runtimes: 0.15.*
- chillerlan/php-qrcode: 4.3.4
- dragonmantank/cron-expression: 3.3.2
- league/csv: 9.14.*
- matomo/device-detector: 6.1.*
- phpmailer/phpmailer: 6.9.1
- spomky-labs/otphp: ^10.0
- utopia-php/abuse: 0.43.0
- utopia-php/analytics: 0.10.*
- utopia-php/audit: 0.43.0
- utopia-php/cache: 0.10.*
- utopia-php/cli: 0.15.*
- utopia-php/config: 0.2.*
- utopia-php/database: 0.53.*
- utopia-php/domains: 0.5.*
- utopia-php/dsn: 0.2.1
- utopia-php/fetch: 0.2.*
- utopia-php/framework: 0.33.*
- utopia-php/image: 0.6.*
- utopia-php/locale: 0.4.*
- utopia-php/logger: 0.6.*
- utopia-php/messaging: 0.12.*
- utopia-php/migration: 0.5.*
- utopia-php/orchestration: 0.9.*
- utopia-php/platform: 0.7.*
- utopia-php/pools: 0.5.*
- utopia-php/preloader: 0.2.*
- utopia-php/queue: 0.7.*
- utopia-php/registry: 0.5.*
- utopia-php/storage: 0.18.*
- utopia-php/swoole: 0.8.*
- utopia-php/system: 0.8.*
- utopia-php/vcs: 0.8.*
- utopia-php/websocket: 0.1.*
- webonyx/graphql-php: 14.11.*
Requires (Dev)
- ext-fileinfo: *
- appwrite/sdk-generator: 0.39.*
- laravel/pint: ^1.14
- phpbench/phpbench: ^1.2
- phpunit/phpunit: 9.5.20
- swoole/ide-helper: 5.1.2
- textalk/websocket: 1.5.7
Provides
- dev-main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feat-bulk-create
- dev-feat-development-keys
- dev-fix-no-pool-access
- dev-chore-bump-console-5.2.25
- dev-debug-runtime-bottleneck
- dev-feat-sites
- dev-feat-custom-cf-hostnames
- dev-feat-bulk-updates
- dev-feat-add-fallbackFile-attribute
- dev-chore-add-site-domains-var
- dev-test-PLA-1791
- dev-fix-project-accessed-at
- dev-reduce-builds-usage-storage
- dev-chore-move-preview-url-to-create-deployment
- dev-fix-preview-domains-development
- dev-feat-tokens-module
- dev-feat-sites-insights
- dev-feat-console-availability-endpoint
- dev-feat-file-tokens
- dev-lohanidamodar-patch-3
- dev-test-console-sdk-preview
- dev-chore-increase-git-commit-length
- dev-fix-optional-entryption-attribute
- dev-dependabot/composer/twig/twig-3.14.2
- dev-debug-whitelist-console
- dev-feat-fix-web-routes
- dev-feat-docker-geo
- dev-feat-add-commit-author-avatar
- dev-feat-delete-rules
- dev-feat-bulk-operations
- dev-revert-8946-chore-update-database
- dev-fix-bandwidth-calculation
- dev-feat-multi-region-docs
- dev-feat-split-migrations
- dev-fix-mfa-labels
- dev-feat-migration-multi-region
- dev-chore-sync-custom-cf-hostnames
- dev-refactor-view-api
- dev-feat-add-sites-comments
- dev-fix-sites-notice
- dev-fix-domain-create-sites
- dev-chore-rename-common-vars-to-compute
- dev-feat-sites-endpoints
- dev-fix-missed-function-cpu-bump
- dev-fix-sites-commands-and-hardcoded
- dev-fix-builds-worker
- dev-PLA-1790
- dev-feat-secret-env-vars
- dev-fix-params-loggin
- dev-PLA-1773
- dev-fix-flaky-tests-2
- dev-release-sdks
- dev-feat-single-shared-metadata-docs
- dev-cl-1.6.0-16-update-deno
- dev-cl-temp-runtimes
- dev-cl-1.6.0-17-update-system-lib
- dev-PLA-1753
- dev-example-compose-files
- dev-feat-adding-coroutines
- dev-dev-cl-1.6.0-17-update-system-lib"
- dev-chore-storage-preview-avif-docs
- dev-feat-1.5.x-mfa-emails
- dev-chore-remove-expectException
- dev-fix-messaging-name
- dev-fix-samesite-with-http
- dev-deletes-worker-set-project
- dev-fix-webp
- dev-feat-php-stan-analysis
- dev-fix-hardcoded-appwrite-assistant-hostname
- dev-fix-unwanted-logs
- dev-feat-coroutine
- dev-fix-runtime-values
- dev-chore-remove-sleep
- dev-chore-move-scheduled-functions-tests
- dev-1.6.x-no-docs
- dev-feat-test-perf-2
- dev-extrnal-messaging-usage
- dev-new-inf-metric
- dev-fix-restart-usage-dump
- dev-db-project-by-region
- dev-chore-change-response-type-to-multipart
- dev-fix-go-runtime
- dev-EVDOG4LIFE-patch-2
- dev-update-sdks-1.6
- dev-fix-flaky-function-tests
- dev-feat-build-plan
- dev-fix-migartion
- dev-fix-blog-links
- dev-feat-appwrite-lite
- dev-feat-enum-statuses
- dev-fix-execution-usage-not-imcrementing
- dev-EVDOG4LIFE-patch-1
- dev-feat-add-header-validator
- dev-feat-avif-support
- dev-feat-add-APPWRITE_ENV
- dev-feat-console-roles
- dev-docs-update-SDK-examples
- dev-feat-ghcr
- dev-feat-implement-webauthn
- dev-feat-clean-mail-vars
- dev-debug-functions-benchmark
- dev-delayed-project-deletion
- dev-feat-sn-database-storage-usage
- dev-feat-gb-hours
- dev-feat-runtime-controls
- dev-sync-with-main
- dev-feat-remove-detailed-trace
- dev-chore-bump-console-4.3.20
- dev-feat-scheduled-executions
- dev-refactor-multi-region-sync
- dev-feat-implement-database-storage-metrics
- dev-feat-add-appwrite-version
- dev-chore-release-php-sdk
- dev-fix-cache-client-expiration
- dev-refactor-usage-sn
- dev-test-previews
- dev-draft-test-the-test
- dev-fix-timeout-test
- dev-refactor_usage_fix_delete_attribute
- dev-exteand-deletes-worker
- dev-project-backups
- dev-feat-invalidate-sessions
- dev-feat-add-timeout-env-to-variables
- dev-chore-update-1.6-specs
- dev-feat-analytics-events-clean
- dev-fix-usage-skip
- dev-feat-team-sync-deletion
- dev-feat-update-queue-failed
- dev-EvanBump
- dev-refactor-usage-sn-collection-not-found-error
- dev-refactor-usage-sn-delete-exeption
- dev-fix-5901-fix-resend-team-invite
- dev-test-fix-healthcheck-cert-test
- dev-feat-upgrade-logger
- dev-fix-executor-falires
- dev-fix-oauth-email-verification
- dev-feat-sync-team-deletion
- dev-chore-upgrade-utopia-cli
- dev-chore-upgrade-executor-version
- dev-revert-7776-feat-react-native-sdk
- dev-feat-migration-logging-fixes
- dev-feat-add-more-migration-tags
- dev-refactor-slow-file-downloads
- dev-fix-backwards-compatibility
- dev-lohanidamodar-patch-7
- dev-feat-eldad2-coroutines
- dev-feat-generate-events-specs
- dev-refactor-usage-sn-collection-not-found
- dev-refactor-usage-sn-invalid-relationship
- dev-feat-eldad-coroutines
- dev-tmp-storage-logs
- dev-single-worker-test
- dev-feat-improve-vcs-comment
- dev-rollback-logging-experiment
- dev-fix-identities-query-to-use-internal-ids
- dev-fix-migration-1.4.x
- dev-fix-timeout-issue
- dev-feat-coroutines
- dev-feat-database-proxy
- dev-collectionid-databaseid-select
- dev-fix-endpoint-order
- dev-feat-fix-favicon-external-checks
- dev-info-duplicate-exception
- dev-fix-unqiue-id-custom-function
- dev-fix-mfa-email
- dev-migration-new-error-handling
- dev-feat-smart-traefik-balancing
- dev-fix-templates-copy-dotgitignore
- dev-fix-delete-sessions-events
- dev-feat-ssr-revert-scopes
- dev-feat-oauth-token-endpoint
- dev-feat-use-geosms-2
- dev-feat-certificate-health-endpoint
- dev-feat-check-certificate-validity
- dev-fix-email-otp
- dev-fix-user-count-exceeded-error
- dev-feat-use-geosms
- dev-refactor-move-cli-scripts
- dev-feat-custom-dns
- dev-lohanidamodar-patch-1
- dev-feat-session-cookies
- dev-shmuel.1
- dev-feat-auto-translations
- dev-feat-delete-console-users
- dev-feat-framework-view-hmtl-escape
- dev-fix-wildcard-hostnames
- dev-refactor-duplicate-document
- dev-rename-stats-collection
- dev-feat-new-usage-metric
- dev-feat-1.5-auth
- dev-feat-allow-overrde-email-base-template
- dev-feat-improve-db-override
- dev-feat-delete-orphaned-projects
- dev-fix-error-code-for-unsupported-protocol
- dev-same-two-way-key
- dev-fix_inputfilelink_in_storage_references
- dev-fix-anon-auth-code
- dev-feat-multithreaded-hamster
- dev-issues-6937
- dev-sync_1.4.x_with_1.5.x
- dev-usage-1.4-sn
- dev-feat-resque-scheduler-worker
- dev-feat-framework-v2-new
- dev-fix-5851-issue
- dev-feat-usage-1.4
- dev-feat-rename-logs-queue
- dev-revert-6350-update-references
- dev-patch-oauth-flows
- dev-bump-db-version
- dev-db-pool-backup-stream
- dev-temp-branch
- dev-eldadfux-patch-1
- dev-fix-project-variables-endpoints
- dev-feat-connection-loop
- dev-feat-release-flutter-dart-sdk
- dev-fix-verified-sdks
- dev-feat-upgraded-db-on-cl-1.1.x
- dev-feat-messaging-worker
- dev-feat-migrations-cl-1.4.x
- dev-poc-timeout
- dev-feat-framework-v2
- dev-feat-implement-transfers
- dev-feat-query-support-attributes
- dev-feat-new-router
- dev-fix-5404-update-doc-without-relation-permission
- dev-fix-clamav
- dev-fix-cache-deletes
- dev-feat-3905-atmomic-update
- dev-fix-error-messages
- dev-refactor-workers-dl
- dev-lohanidamodar-patch-2
- dev-feat-refactor-init-config
- dev-feat-release-dotnet-sdk
- dev-project-backup
- dev-refactor-collections-config
- dev-feat-db-pools-client-logging
- dev-__stream
- dev-feat-extendable-queries-validator
- dev-feat-project-delete-group
- dev-feat-peach-q1-kh
- dev-index-validator-v1
- dev-__stream_back_2
- dev-__stream__back_1
- dev-feat-jwt-as-request-param
- dev-cloud-update-install-link
- dev-docs-create-document
- dev-feat-registrar
- dev-feat-domains
- dev-usage-migration
- dev-feat-ca-certificates
- dev-experiment-response-attributes
- dev-fix-etsy-auth
- dev-feat-christy-backup
- dev-decouple-endpoints
- dev-feat-cloud-folder-backup
- dev-fix-function-response-size
- dev-temp-dl-for-billing
- dev-update-oauth-doc
- dev-feat-multiple-events-demonstration
- dev-feat-reatime-cache-cert-sync
- dev-refactor-autoload-require
- dev-feat-realtime-region-sync
- dev-feat-transfer-project
- dev-fix-loose-booleans
- dev-feat-functions-to-region
- dev-feat-redis-sync
- dev-refactor-collections
- dev-fix-incorrect-durations
- dev-fix-simply-functions-worker
- dev-feat-LINE-OAuth
- dev-refactor-cache-new
- dev-feat-experiment-mongo
- dev-feat-benchmarks
- dev-feat-configurable-console-hostnames
- dev-feat-functions-proxy
- dev-fix-team-memberships-secret-exposure
- dev-feat-locales-check
- dev-feat-key-rotation-pls
- dev-feat-project-level-secrets
- dev-feat-3625-regex-event-match
- dev-fix-duplication-error-message
- dev-fix-create-user-OAuth-event
- dev-feat-oauth-session-with-token
- dev-dev
This package is auto-updated.
Last update: 2024-11-25 15:08:18 UTC
README
Appwrite Init has concluded! You can check out all the latest announcements on our Init website 🚀
Appwrite is a backend platform for developing Web, Mobile, and Flutter applications. Built with the open source community and optimized for developer experience in the coding languages you love.
English | 简体中文
Announcing Appwrite Cloud Public Beta! Sign up today!
Appwrite is an end-to-end backend server for Web, Mobile, Native, or Backend apps packaged as a set of Docker microservices. Appwrite abstracts the complexity and repetitiveness required to build a modern backend API from scratch and allows you to build secure apps faster.
Using Appwrite, you can easily integrate your app with user authentication and multiple sign-in methods, a database for storing and querying users and team data, storage and file management, image manipulation, Cloud Functions, and more services.
Find out more at: https://appwrite.io
Table of Contents:
Installation
Appwrite is designed to run in a containerized environment. Running your server is as easy as running one command from your terminal. You can either run Appwrite on your localhost using docker-compose or on any other container orchestration tool, such as Kubernetes, Docker Swarm, or Rancher.
The easiest way to start running your Appwrite server is by running our docker-compose file. Before running the installation command, make sure you have Docker installed on your machine:
Unix
docker run -it --rm \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ appwrite/appwrite:1.6.0
Windows
CMD
docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ appwrite/appwrite:1.6.0
PowerShell
docker run -it --rm ` --volume /var/run/docker.sock:/var/run/docker.sock ` --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ` --entrypoint="install" ` appwrite/appwrite:1.6.0
Once the Docker installation is complete, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation.
For advanced production and custom installation, check out our Docker environment variables docs. You can also use our public docker-compose.yml and .env files to manually set up an environment.
Upgrade from an Older Version
If you are upgrading your Appwrite server from an older version, you should use the Appwrite migration tool once your setup is completed. For more information regarding this, check out the Installation Docs.
One-Click Setups
In addition to running Appwrite locally, you can also launch Appwrite using a pre-configured setup. This allows you to get up and running quickly with Appwrite without installing Docker on your local machine.
Choose from one of the providers below:
Getting Started
Getting started with Appwrite is as easy as creating a new project, choosing your platform, and integrating its SDK into your code. You can easily get started with your platform of choice by reading one of our Getting Started tutorials.
Products
- Account - Manage current user authentication and account. Track and manage the user sessions, devices, sign-in methods, and security logs.
- Users - Manage and list all project users when building backend integrations with Server SDKs.
- Teams - Manage and group users in teams. Manage memberships, invites, and user roles within a team.
- Databases - Manage databases, collections, and documents. Read, create, update, and delete documents and filter lists of document collections using advanced filters.
- Storage - Manage storage files. Read, create, delete, and preview files. Manipulate the preview of your files to perfectly fit your app. All files are scanned by ClamAV and stored in a secure and encrypted way.
- Functions - Customize your Appwrite project by executing your custom code in a secure, isolated environment. You can trigger your code on any Appwrite system event either manually or using a CRON schedule.
- Messaging - Communicate with your users through push notifications, emails, and SMS text messages using Appwrite Messaging.
- Realtime - Listen to real-time events for any of your Appwrite services including users, storage, functions, databases, and more.
- Locale - Track your user's location and manage your app locale-based data.
- Avatars - Manage your users' avatars, countries' flags, browser icons, and credit card symbols. Generate QR codes from links or plaintext strings.
For the complete API documentation, visit https://appwrite.io/docs. For more tutorials, news and announcements check out our blog and Discord Server.
SDKs
Below is a list of currently supported platforms and languages. If you would like to help us add support to your platform of choice, you can go over to our SDK Generator project and view our contribution guide.
Client
- ✅ Web (Maintained by the Appwrite Team)
- ✅ Flutter (Maintained by the Appwrite Team)
- ✅ Apple (Maintained by the Appwrite Team)
- ✅ Android (Maintained by the Appwrite Team)
- ✅ React Native - Beta (Maintained by the Appwrite Team)
Server
- ✅ NodeJS (Maintained by the Appwrite Team)
- ✅ PHP (Maintained by the Appwrite Team)
- ✅ Dart (Maintained by the Appwrite Team)
- ✅ Deno (Maintained by the Appwrite Team)
- ✅ Ruby (Maintained by the Appwrite Team)
- ✅ Python (Maintained by the Appwrite Team)
- ✅ Kotlin (Maintained by the Appwrite Team)
- ✅ Swift (Maintained by the Appwrite Team)
- ✅ .NET - Beta (Maintained by the Appwrite Team)
Community
- ✅ Appcelerator Titanium (Maintained by Michael Gangolf)
- ✅ Godot Engine (Maintained by fenix-hub @GodotNuts)
Looking for more SDKs? - Help us by contributing a pull request to our SDK Generator!
Architecture
Appwrite uses a microservices architecture that was designed for easy scaling and delegation of responsibilities. In addition, Appwrite supports multiple APIs, such as REST, WebSocket, and GraphQL to allow you to interact with your resources by leveraging your existing knowledge and protocols of choice.
The Appwrite API layer was designed to be extremely fast by leveraging in-memory caching and delegating any heavy-lifting tasks to the Appwrite background workers. The background workers also allow you to precisely control your compute capacity and costs using a message queue to handle the load. You can learn more about our architecture in the contribution guide.
Contributing
All code contributions, including those of people having commit access, must go through a pull request and be approved by a core developer before being merged. This is to ensure a proper review of all the code.
We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.
Security
For security issues, kindly email us at security@appwrite.io instead of posting a public issue on GitHub.
Follow Us
Join our growing community around the world! Check out our official Blog. Follow us on X, LinkedIn, Dev Community or join our live Discord server for more help, ideas, and discussions.
License
This repository is available under the BSD 3-Clause License.