Skip to main content

Setup

Replicache is framework agnostic, and you can use most any libraries and frameworks you like.

In this guide, we're going to use Express/Vite/React. To start, clone the BYOB starter repo:

git clone git@github.com:rocicorp/byob-starter.git
cd byob-starter
npm install

This project is a monorepo web app with three workspaces: client, server, and shared. The client workspace contains the client-side UI, developed with Vite and React. The server workspace contains the server-side logic, implemented using Express. And the shared workspace contains types and classes that are shared between client and server.

Next

Next, we'll design our Client View – the schema for our client-side data.