Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.27 KB

Replicache logo

repliear-row-versioning

This is a demonstration of the Row Version Strategy.

A high-performance issue tracker in the style of Linear.

Built with Replicache, ViteJS, and Postgres.

1. Setup

Get your Replicache License Key

$ npx replicache get-license

Set your VITE_REPLICACHE_LICENSE_KEY environment variable

$ export VITE_REPLICACHE_LICENSE_KEY="<your license key>"

Install Postgres

Install PostgreSQL. On MacOS, we recommend using Postgres.app. For other OSes and options, see Postgres Downloads.

Once installed, set your database url

$ export DATABASE_URL="postgresql://localhost/repliear"

and create a postrgres DB

$ psql -d postgres -c 'create database repliear'

Install and Build

$ npm install; npm run build;

2. Start frontend and backend watcher

$ npm run watch --ws

Provides an example integrating replicache with react in a simple todo application.