Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vlcn-io/vite-starter
scaffold for a vitejs based vlcn project
https://github.com/vlcn-io/vite-starter
Last synced: 3 months ago
JSON representation
scaffold for a vitejs based vlcn project
- Host: GitHub
- URL: https://github.com/vlcn-io/vite-starter
- Owner: vlcn-io
- Created: 2023-05-17T12:37:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T19:11:51.000Z (11 months ago)
- Last Synced: 2024-07-29T15:38:37.626Z (5 months ago)
- Language: TypeScript
- Size: 941 KB
- Stars: 32
- Watchers: 2
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 [email protected]:vlcn-io/vite-starter.git
npm install
npm dev
```What you get:
- A client ([App.tsx](https://github.com/vlcn-io/vite-starter/blob/main/src/App.tsx)) that runs a SQLite DB
- A server ([server.js](https://github.com/vlcn-io/vite-starter/blob/main/server.js)) that the client (or many clients) can sync to when online
- A database schema file ([schemas/main.mjs](https://github.com/vlcn-io/vite-starter/blob/main/src/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](https://img.youtube.com/vi/QJBQLYmXReI/0.jpg)](https://www.youtube.com/watch?v=QJBQLYmXReI)
Deployed Scaffolding: https://vite-starter2.fly.dev/ Try it out! Collaborate between all your devices.