Followlens docs
v1.0.0
Get help
● Start · 10 minutes

Quick start
run it on your machine.

Server first, then the app pointing at it.

01Run the server

  1. Install.
    cd server
    npm ci
    cp .env.example .env
  2. Set a secret key. Put the output of openssl rand -hex 32 into ADMIN_SECRET_KEY= in .env.
  3. Start.
    npm run dev
    It builds and listens on http://localhost:8787.
  4. Create the owner. Open http://localhost:8787/admin. Enter the setup code (your ADMIN_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
Onboarding