Skip to content

chore: improve local bootstrap and add rich mock seed flow#29

Merged
bychrisr merged 1 commit intomainfrom
chore/dev-mock-bootstrap-and-seeds
Feb 12, 2026
Merged

chore: improve local bootstrap and add rich mock seed flow#29
bychrisr merged 1 commit intomainfrom
chore/dev-mock-bootstrap-and-seeds

Conversation

@bychrisr
Copy link
Copy Markdown
Owner

@bychrisr bychrisr commented Feb 12, 2026

Summary

  • improve local dev bootstrap scripts to reduce environment startup friction
  • add richer mock database seeding and reset scripts for manual QA flows
  • fix CORS defaults for Vite local ports and improve API unavailable handling in web/admin
  • add favicon assets for admin/web and stricter Vite port behavior

What changed

  • root scripts: dev, dev:mock, dev:mock:web, dev:mock:all
  • API scripts: db:seed:mock, db:reset:mock
  • API seed refactor to support custom seed datasets
  • new mock dataset covering public/private events, release windows, materials, and quiz submission-ready UUIDs
  • docs updates for bootstrap and seed usage

Validation

  • npm run db:reset:mock --workspace @flix/api
  • npm run test --workspace @flix/api -- tests/integration/db-bootstrap.test.js
  • npm run dev:mock (startup verified)
  • CORS preflight verified for http://localhost:5173

@bychrisr bychrisr merged commit 120f1d1 into main Feb 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant