Getting started with pnpm/npm/yarn create:
npm create @vlcn.io@latest your-app-name
Or, just cloning directly:
git clone [email protected]:vlcn-io/vite-starter.git
npm install
npm 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.
Deployed Scaffolding: https://vite-starter.fly.dev/ Try it out! Collaborate between all your devices.