A starter for building local-first apps with ElectricSQL
Built with:
- Vite
- Remix
- ElectricSQL
Screen.Recording.2023-11-14.at.2.32.27.PM.mp4
npx git-scaffold@latest KyleAMathews/vite-react-router-electric-sql-starter#main new-electric-app
The starter includes some sample tables & code. You can either leave it to play with a simple example app or remove it to start from scratch.
To clean up the example code, run npm run cleanup-example-code
and then make the following edits:
src/main.tsx
to remove the example route components
You're now ready to start adding tables and routes.
You need Docker/Docker Compose installed.
Run Postgres/ElectricSQL:
npm run backend:up
Start the dev server
npm run dev
Contributions welome!