Claude 6d66e8f25b Add system ID prefix to all Redis keys to prevent cross-system ID clashes
When multiple university systems share the same Redis instance, entity IDs
(shuttles, stops, routes, etc.) could collide. This namespaces all Redis
keys with the system ID (e.g., `1:shuttle:stop:123` instead of
`shuttle:stop:123`).

- Add systemId field and prefixKey() helper to BaseRedisRepository
- Update all Redis repository subclasses to use prefixed keys
- Wire system ID from InterchangeSystem.build() into Redis repositories
- Add migration utility (migrateRedisKeysToSystemPrefix) with tests
- Update all test holders to pass a test system ID

https://claude.ai/code/session_012Vfz1NHWJbVtoDEWcE5tq6
2026-03-23 23:17:13 +00:00
2024-12-21 16:51:41 -08:00
2025-07-02 18:35:35 -04:00
2025-11-14 11:02:26 -08:00
2024-12-26 18:04:43 -08:00
2025-11-14 11:05:47 -08:00
2025-03-27 08:46:53 -07:00

Interchange Server

This is the server codebase for Interchange, an app for college transit.

Setup

You'll need Docker + Compose installed to run this project. Clone this repository and run one of the following:

# run the standard Node development server and Redis
$ docker compose run dev

# run with unit/server integration tests
$ docker compose run test

# run with test data suitable for app integration tests
$ docker compose run app-integration-tests
Description
No description provided
Readme 1.4 MiB
Languages
TypeScript 99.1%
JavaScript 0.9%