Skip to content

A TinyBase Vite template using React

Notifications You must be signed in to change notification settings

tinyplex/vite-tinybase-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 18, 2024
886582c · Nov 18, 2024

History

36 Commits
Jun 2, 2023
Aug 25, 2024
Jun 2, 2023
Nov 18, 2024
Aug 25, 2024
Sep 13, 2024
Sep 13, 2024
Jun 2, 2023

Repository files navigation

vite-tinybase-react

This is a Vite template for a simple TinyBase app, using React, and also demonstrating the TinyBase ui-react-dom module UI components.

image

Instructions

  1. Make a copy of this template into a new directory:
npx tiged tinyplex/vite-tinybase-react my-tinybase-app
  1. Go into the directory:
cd my-tinybase-app
  1. Install the dependencies:
npm install
  1. Run the application:
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 has no license, and so you can use it however you want! TinyBase and Vite themselves are both MIT licensed.