Skip to content

feat: data-source abstraction (configurable places path) #30

Description

@AnayDhawan

Headline v2.0 work (self-host). src/lib/places.ts imports the data/places/*.json files by
hardcoded path.

Task

  • Abstract place loading so the data directory/source is configurable (via studymap.config.ts),
    letting a fork drop in its own data/places/* without touching lib/places.ts.
  • Keep the static-import build path working (no runtime backend).

Acceptance: pointing the config at a different data dir loads that dataset.
Depends on: config-driven region.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestself-hostSelf-host / bring-your-own-data

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions