[Tech debt] Resolve dormant auth, MongoDB, watchlist and Inngest architecture

Author: brunoguimaraesbrCreated Sep 22, 2026Updated Sep 22, 2026

Context

The current public dashboard is local-first and no longer requires authentication, MongoDB or a user account. Legacy watchlist, alert, MongoDB, Inngest and email modules remain in the tree but are not reachable from the main product flow.

Decision needed

Choose one coherent direction instead of retaining two partial architectures:

  1. remove the dormant server/user workflow completely; or
  2. restore watchlists and alerts as local-only features (IndexedDB/localStorage) with no login, then remove the unused server persistence.

Acceptance criteria

  • One documented source of truth for persistence.
  • No unreachable routes/components/actions remain.
  • Remove unused dependencies, scripts and environment variables consistently.
  • npm run lint and npx tsc --noEmit pass without repository-wide suppressions.
  • Docker and README match the chosen architecture.
  • Existing B3 dashboard/search/news/detail behavior remains covered.

Source: Open-Dev-Society/OpenStock