Skip to content

Dev Login and Accounts

github-actions[bot] edited this page Oct 15, 2026 · 5 revisions

Dev login and accounts

Easiest local admin login

  1. Open Docker Desktop and run ./setup.sh from the repo root.
  2. Open sign-in.
  3. Enter anvu@local and any placeholder password.
  4. Open the sample board.

The setup script already enables local password bypass. No env-file edit is needed. A fresh database seeds the admin with no password hash; there is no default password to remember.

Host-development login

For npm run dev, set APP_AUTH_REQUIRE_PASSWORD=false in backend/.env.dev, then restart the backend. The dev profile alone does not enable bypass. Bypass accepts an existing user's email; it does not create missing users. If the seeded account's email was changed, use its current email.

Normal accounts

Open Sign In → Don't Have an Account? Signup creates an account, session, starter board, and main-board preference together. It opens /<username>/<board-slug>; /<username> remains the public main-board shortcut.

Account Access
Signed out Public boards and public read endpoints
Signed-in user Create boards, edit/delete owned boards, edit own profile/preferences
Administrator Edit any board; deletion safeguards still apply

New accounts have the USER role. Sign Out works in the account menu and settings. Password reset/change and account deletion remain unfinished.

Demo accounts and search

./setup.sh adds these local demo users, each with a main board:

@blueberry · @news · @feature · @daily · @emma · @victoria · @nori

With local password bypass, sign in as emma@demo.local (or another demo username at demo.local) with any placeholder password. Restarts keep existing users and their edits.

Demo seeding is opt-in through APP_DEMO_USERS_ENABLED=true. Only docker-compose.local.yml enables it, and startup refuses it under prod or on Render. For host development, set it in backend/.env.dev and restart.

Click the blue Search dot and type at least two characters (try em, ne, or @blue). Search is case-insensitive, accepts a leading @, and returns up to 10 users. The public GET /api/search/users?q=... endpoint returns only username and displayName.

Keeping credentials safe

  • Never commit real backend/.env.dev credentials; keep backend/.env.example to placeholders.
  • Rotate a database password or API token immediately if it is exposed.

Common confusion

  • No Edit button? Sign in as the board's owner or an admin. Edit appears on both /<username> and /<username>/<slug>. Home, Settings, Insights, and Sign In are dedicated pages.
  • Admin token? Retired with the system-route API; use a bearer session.
  • Remember Me? The checkbox does not yet alter session behavior. The token is stored in local storage.
  • Phone/LAN or hosted app? Use normal accounts with APP_AUTH_REQUIRE_PASSWORD=true. The setup-script preview is loopback-only.

Permissions · Page URLs · Configuration · Troubleshooting

Clone this wiki locally