GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tinyplex/tinybase-ts-react-electricsql: A template for apps built with TinyBase, TypeScript, React, and ElectricSQL.

This repository was archived by the owner on Feb 10, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
db/migrations
db/migrations
 
 
public
public
 
 
src
src
 
 
.env
.env
 
 
.eslintrc.cjs
.eslintrc.cjs
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
fourway.png
fourway.png
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

tinybase-ts-react-electricsql

Warning

This template has been deprecated. Please use the far more useful create tinybase instead. Thank you!


This is a template for a simple TinyBase app, using TypeScript, React, and ElectricSQL.

It is a fork of the ElectricSQL web example app, with small changes to introduce TinyBase into the view layer. All the credit for the magic goes to ElectricSQL!

A four-way sync between browsers

Instructions

  1. Make a copy of this template into a new directory:
npx tiged tinyplex/tinybase-ts-react-electricsql my-tinybase-app
  1. Go into the directory:
cd my-tinybase-app
  1. Install the dependencies:
npm install

Note that you will also need to install Docker.

  1. Start Postgres and Electric using Docker:
npm run backend:up
  1. Setup the database schema:
npm run db:migrate
  1. Generate the type-safe client:
npm run client:generate
  1. Run the server:
npm run dev
  1. Go the URL shown and enjoy!

Other templates

There are eleven templates for TinyBase, of which this is one:

Template Language React Plus
vite-tinybase JavaScript No
vite-tinybase-ts TypeScript No
vite-tinybase-react JavaScript Yes
vite-tinybase-ts-react TypeScript Yes
vite-tinybase-ts-react-sync TypeScript Yes Synchronization
vite-tinybase-ts-react-sync-durable-object TypeScript Yes Sync & Durable Objects
vite-tinybase-ts-react-pglite TypeScript Yes PGlite
vite-tinybase-ts-react-crsqlite TypeScript Yes CR-SQLite
tinybase-ts-react-partykit TypeScript Yes PartyKit
👉 tinybase-ts-react-electricsql TypeScript Yes ElectricSQL
expo/examples/with-tinybase JavaScript Yes React Native & Expo

License

This template is forked from an ElectricSQL example that has an Apache-2 license. TinyBase is MIT licensed.

About

A template for apps built with TinyBase, TypeScript, React, and ElectricSQL.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

13 stars

Watchers

0 watching

Forks

1 fork
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.