Skip to content

Inconsistent Persistence Layers* #153

@navin-oss

Description

@navin-oss

The backend architecture is confused about its primary data store:

  • While most routes in server.js use MongoDB via the Batch.js model, there is a completely separate in-memory store in BatchStore.js initialized with sample data.
  • This duplication can lead to scenarios where some parts of the app show stale or inconsistent data if they inadvertently use the in-memory store instead of the database.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions