Get Started
Quickstart
Get started with PocketSync in your Flutter application
Installation
Requirements
- A PocketSync account (sign up at pocketsync.dev)
Add Dependency
Add PocketSync to your pubspec.yaml
file:
Or install via command line:
Basic Setup
- Create a project in the PocketSync console
- Initialize PocketSync in your app:
Configuration
Database Schema
When designing your database schema, follow these best practices:
Key points:
- Use UUIDs for primary keys
- Include timestamp fields for sync optimization
- Use appropriate data types for each column
Basic Operations
Watch for Changes
PocketSync provides a powerful watch API to monitor database changes:
Next Steps
- Learn about Core concepts
- Understand Conflict resolution