mast/mast-react
Anish Lakhwara f7b2d09c4b init react
2024-10-26 00:00:30 -07:00
..
etc init react 2024-10-26 00:00:30 -07:00
public init react 2024-10-26 00:00:30 -07:00
src init react 2024-10-26 00:00:30 -07:00
.dockerignore init react 2024-10-26 00:00:30 -07:00
.eslintrc.cjs init react 2024-10-26 00:00:30 -07:00
.gitignore init react 2024-10-26 00:00:30 -07:00
.prettierrc init react 2024-10-26 00:00:30 -07:00
.yarnrc.yml init react 2024-10-26 00:00:30 -07:00
Dockerfile init react 2024-10-26 00:00:30 -07:00
fly.toml init react 2024-10-26 00:00:30 -07:00
index.html init react 2024-10-26 00:00:30 -07:00
notes.md init react 2024-10-26 00:00:30 -07:00
package.json init react 2024-10-26 00:00:30 -07:00
pnpm-lock.yaml init react 2024-10-26 00:00:30 -07:00
README.md init react 2024-10-26 00:00:30 -07:00
server.js init react 2024-10-26 00:00:30 -07:00
tsconfig.json init react 2024-10-26 00:00:30 -07:00
tsconfig.node.json init react 2024-10-26 00:00:30 -07:00
vite.config.ts init react 2024-10-26 00:00:30 -07:00

vite-starter

Getting started with pnpm/npm/yarn create:

# npm
npm create @vlcn.io@latest your-app-name
# pnpm
pnpm create @vlcn.io your-app-name
# yarn
yarn create @vlcn.io your-app-name

Or, just cloning directly:

git clone git@github.com: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 (schemas/main.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-starter2.fly.dev/ Try it out! Collaborate between all your devices.