OpenStock icon indicating copy to clipboard operation
OpenStock copied to clipboard

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

Open brunoguimaraesbr opened this issue 2 months ago • 1 comments

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.

brunoguimaraesbr avatar Sep 22 '26 01:09 brunoguimaraesbr

This describes the B3-focused version from #99, which we closed because it turns OpenStock into a different product (B3 only, no accounts, brapi instead of Finnhub). It fits your fork well; closing here. Thanks for writing it up so clearly.

ravixalgorithm avatar Oct 18 '26 00:10 ravixalgorithm