create-electric-app
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

ElectricSQL Starter

This is a starter app template. You can use it to generate an ElectricSQL application. The app is setup to match the example code you can see in the Quickstart.

Pre-reqs

  • Docker (with Compose V2)
  • Node >= 16.11.0

Usage

npx create-electric-app@latest my-app

Change directory into the created folder (./my-app in the example command above) and then follow the instructions in the generated README.

You can optionally pass the following arguments to the create-electric-app command to configure the app.

Argument Value Default Description
--template 'react' | 'vue' | 'expo' | 'react-native' 'react' Starter template to use
--electric-port 0 - 65535 5133 Port on which to run Electric
--electric-proxy-port 0 - 65535 65432 Port on which to run Electric's DB proxy

Readme

Keywords

none

Package Sidebar

Install

npm i create-electric-app

Weekly Downloads

332

Version

0.3.1

License

Apache-2.0

Unpacked Size

92.9 kB

Total Files

99

Last publish

Collaborators

  • icehaunter
  • electricsql-bot