https://github.com/powersync-ja/powersync-service
PowerSync Service is the server-side component of the PowerSync sync engine.
https://github.com/powersync-ja/powersync-service
Last synced: about 1 month ago
JSON representation
PowerSync Service is the server-side component of the PowerSync sync engine.
- Host: GitHub
- URL: https://github.com/powersync-ja/powersync-service
- Owner: powersync-ja
- License: other
- Created: 2024-05-30T19:49:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-05-12T13:46:28.000Z (about 2 months ago)
- Last Synced: 2026-05-12T14:25:30.778Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://docs.powersync.com/architecture/powersync-service
- Size: 7.44 MB
- Stars: 341
- Watchers: 14
- Forks: 49
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
_[PowerSync](https://www.powersync.com) is a sync engine for building local-first apps with instantly-responsive UI/UX and simplified state transfer. Syncs between SQLite on the client-side and Postgres, MongoDB, MySQL or SQL Server on the server-side._
# 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-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.