tantaman / repliear-row-versioning

Home Page:https://repliear.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

https://repliear.herokuapp.com

License:Other


Languages

Language:TypeScript 97.9%Language:JavaScript 1.2%Language:CSS 0.6%Language:HTML 0.2%