https://github.com/raais/vite-tinybase-indexeddb-sqlite3
example react starter with client side db for local-first app
https://github.com/raais/vite-tinybase-indexeddb-sqlite3
Last synced: 8 months ago
JSON representation
example react starter with client side db for local-first app
- Host: GitHub
- URL: https://github.com/raais/vite-tinybase-indexeddb-sqlite3
- Owner: Raais
- License: mit
- Created: 2024-03-23T14:20:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T14:27:45.000Z (about 2 years ago)
- Last Synced: 2025-01-12T15:45:56.199Z (over 1 year ago)
- Language: TypeScript
- Size: 598 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-tinybase-ts-react
This is a [Vite](https://vitejs.dev/) template for a simple
[TinyBase](https://tinybase.org/) app, using TypeScript and React, and also
demonstrating the TinyBase ui-react-dom module UI components.
## Instructions
1. Make a copy of this template into a new directory:
```sh
npx degit tinyplex/vite-tinybase-ts-react my-tinybase-app
```
2. Go into the directory:
```sh
cd my-tinybase-app
```
3. Install the dependencies:
```sh
npm install
```
4. Run the application:
```sh
npm run dev
```
5. Go the URL shown and enjoy!

## Other templates
There are seven templates for TinyBase, of which this is one:
| | Template | Language | React | Plus |
| --- | ---------------------------------------------------------------------------------------------- | ---------- | ----- | ----------- |
| | [vite-tinybase](https://github.com/tinyplex/vite-tinybase) | JavaScript | No | |
| | [vite-tinybase-ts](https://github.com/tinyplex/vite-tinybase-ts) | TypeScript | No | |
| | [vite-tinybase-react](https://github.com/tinyplex/vite-tinybase-react) | JavaScript | Yes | |
| 👉 | [vite-tinybase-ts-react](https://github.com/tinyplex/vite-tinybase-ts-react) | TypeScript | Yes | |
| | [vite-tinybase-ts-react-crsqlite](https://github.com/tinyplex/vite-tinybase-ts-react-crsqlite) | TypeScript | Yes | CR-SQLite |
| | [tinybase-ts-react-partykit](https://github.com/tinyplex/tinybase-ts-react-partykit) | TypeScript | Yes | PartyKit |
| | [tinybase-ts-react-electricsql](https://github.com/tinyplex/tinybase-ts-react-electricsql) | TypeScript | Yes | ElectricSQL |
## License
This template has no license, and so you can use it however you want!
[TinyBase](https://github.com/tinyplex/tinybase/blob/main/LICENSE) and
[Vite](https://github.com/vitejs/vite/blob/main/LICENSE) themselves are both MIT
licensed.