[go: nahoru, domu]

Skip to content

barbalex/capturing_vlcn

Repository files navigation

vite-starter

git clone git@github.com:vlcn-io/vite-starter.git
pnpm install
pnpm dev

What you get:

  • A client (App.tsx) that runs a SQLite DB
  • A server (server.js) that the client (or many clients) can sync to when online
  • A database schema file (schame.mjs that is automatically migrated to (auto migration is still in beta! You may find yourself needing to wipe the DB (clear indexeddb or change dbid) when using auto-migrate) on server and client restart.

Demo Video: example scaffolding result

Deployed Scaffolding: https://vite-starter.fly.dev/ Try it out! Collaborate between all your devices.

Open another browser at the same url and you will see the data sync between the two.

important

(using npm or pnpm) did NOT work on windows (powershell) Throws: Error: spawn ./node_modules/.bin/vite ENOENT need to run in ubuntu. then both npm and pnpm work fine.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published