An open API service indexing awesome lists of open source software.

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.

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.