Shorebird에서 개발한 가벼운 Dart 클라이언트로, 여러 플랫폼에서 Redis 서버와 원활한 통신을 가능하게 합니다. 간단함과 성능을 고려해 설계되었으며, 키-값 저장, 만료, 발행/구독 메시징과 같은 기본적인 Redis 작업을 지원합니다. Flutter 애플리케이션에서 실시간 데이터 동기화, 캐싱, 세션 관리에 이상적입니다. 이 라이브러리는 플랫폼 독립적이며 Android, iOS, macOS, Windows, Linux에서 작동하여, 빠르고 신뢰할 수 있는 데이터 접근이 필요한 크로스플랫폼 앱에 적합합니다.
사용 사례
실시간 데이터 동기화
자주 액세스되는 데이터 캐싱
세션 관리
발행/구독 메시지
사용자 상태 지속성
주요 기능
가볍고 효율적
크로스 플랫폼 지원
기본 Redis 명령을 지원합니다
내장된 연결 처리
일반적인 작업을 위한 간단한 API
적합한 대상
Redis 통합이 필요한 Flutter 앱
실시간 기능을 구축하는 개발자
빠른 메모리 내 데이터 저장이 필요한 앱
앱 업데이트에 Shorebird를 사용하는 팀
여러 운영 체제를 대상으로 하는 프로젝트
고려 사항
실행 중인 Redis 서버가 필요합니다
기본 Redis 기능에 제한됨
내장된 연결 풀 없음
복잡한 Redis 사용 사례에 적합하지 않습니다
네트워크 사용 가능 여부에 따라 다릅니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Shorebird 🐦
Getting Started
Visit https://docs.shorebird.dev to get started.
Packages
This repository is a monorepo containing the following packages:
For more information, please refer to the documentation for each package.
Contributing
If you're interested in contributing, please join us on
Discord.
Environment setup
Working on Shorebird requires Dart.
./scripts/bootstrap.sh will run pub get all packages in the repository.
Running tests
We don't yet have a script to run tests locally. For now, we recommend using
very_good test -r in the packages directory to run all shorebird tests.
(If you run it in the root, it will find packages in bin/cache/flutter and try
to run tests there, some of which will fail.)
To generate a coverage report install lcov:
brew install lcov
Then run tests with the --coverage flag:
very_good test -r --coverage
genhtml coverage/lcov.info -o coverage
You can view the generated coverage report via:
open coverage/index.html
Tracking coverage
The following command will generate a coverage report for the Dart packages:
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --check-ignore
Shorebird projects are licensed for use under either Apache License, Version 2.0
(LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license
(LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
See our license philosophy for more information on why we license files this
way:
https://handbook.shorebird.dev/engineering/#licensing-philosophy