● Start · 10 minutes
Quick start
run it on your machine.
Server first, then the app pointing at it.
01Run the server
- Install.
cd server npm ci cp .env.example .env - Set a secret key. Put the output of
openssl rand -hex 32intoADMIN_SECRET_KEY=in.env. - Start.
It builds and listens onnpm run devhttp://localhost:8787. - Create the owner. Open
http://localhost:8787/admin. Enter the setup code (yourADMIN_SETUP_TOKEN, or the one-time code printed in the server log) and create the owner account.
02Run the app
cd app
flutter pub get
flutter run # no server: built-in defaults, nothing for sale
flutter run --dart-define=API_BASE_URL=http://10.0.2.2:8787 # Android emulator talking to the local server
On the iOS simulator use http://localhost:8787. On first start tap Try sample data to see every screen with generated accounts (every handle starts with sample_). To test the real import path, generate a sample export ZIP:
dart run tool/make_sample_export.dart out.zip