_[PowerSync](https://www.powersync.com) keeps a client-side SQLite database in sync with your backend database. Changes appear across users and devices in real-time, user interactions feel instant and your app continues to work even when offline. Supports Postgres, MongoDB, Azure DocumentDB, MySQL, and SQL Server. Client SDKs are available for a wide range of environments including web, mobile, desktop, headless and embedded._ # PowerSync Service `powersync-service` is the monorepo for the core [PowerSync Service](https://docs.powersync.com/architecture/powersync-service). The service can be started using the public Docker image. See the image [notes](./service/README.md) # Monorepo Structure: ## Packages - [packages/service-core](./packages/service-core/README.md) - Core logic for the PowerSync backend server - [packages/jpgwire](./packages/jpgwire/README.md) - Customized version of [pgwire](https://www.npmjs.com/package/pgwire?activeTab=dependencies) (used with Postgres) - [packages/jsonbig](./packages/jsonbig/README.md) - Custom JSON and BigInt parser - [packages/rsocket-router](./packages/rsocket-router/README.md) - Router for reactive streams using [RSocket](https://rsocket.io/) - [packages/sync-rules](./packages/sync-rules/README.md) - Library containing logic for PowerSync sync config (sync streams or sync rules) - [packages/types](./packages/types/) - Type definitions for the PowerSync Service ## Libraries - [libs/lib-services](./libs/lib-services/README.md) - A light-weight set of definitions and utilities for micro services - [libs/lib-mongodb](./libs/lib-mongodb/README.md) - A light-weight set of common logic and types for the MongoDB replication and storage modules. ## Modules - [modules/module-mongodb](./modules/module-mongodb/README.md) - MongoDB replication module. - [modules/module-mongodb-storage](./modules/module-mongodb-storage/README.md) - MongoDB bucket storage module. - [modules/module-mysql](./modules/module-mysql/README.md) - MySQL replication module. - [modules/module-convex](./modules/module-convex/README.md) - Convex replication module. See the module README for local integration testing with the `dev:convex` backend. - [modules/module-postgres](./modules/module-postgres/README.md) - Postgres replication module. ## Service - [service](./service/README.md) Contains the PowerSync Service code. This project is used to build the `journeyapps/powersync-service` Docker image. ## Docs - [docs](./docs/README.md) Technical documentation regarding the implementation of PowerSync. ## Test Client - [test-client](./test-client/README.md) Contains a minimal client demonstrating direct usage of the HTTP stream sync API. This can be used to test sync config in contexts such as automated testing. # Developing See the [notes](./DEVELOP.md) for local development instructions.