Files
Clintchiz cd0dffa87d
Quality / quality (ubuntu-latest) (push) Failing after 11m17s
Quality / quality (windows-latest) (push) Canceled after 0s
feat: complete SSR CRM and refine auth UI
2026-08-20 16:17:59 +05:30

761 B

Northstar CRM example

A complete WrNexus example covering public pages, SQLite migrations and seed data, SQL-backed signup/login/session authentication, database-backed roles and permissions, protected pages, and permission-checked CRM APIs.

bun run db:migrate
bun run db:seed
bun run dev

Open /signup, create an account, and the signup hook assigns the sales-rep role. The user is automatically signed in and redirected to /dashboard. Auth tables come from the @wrnexus/auth plugin migrations; CRM and authorization tables come from app/db/migrations/001_crm.sql.

The seed records use the placeholder owner demo-owner to demonstrate repeatable data. To attach them to a registered user, update their owner_id to that user's ID.