Skip to content

refactor: split lib/data into auth + cards, remove dead configs#111

Merged
Pyronewbic merged 2 commits into
mainfrom
dev
May 15, 2026
Merged

refactor: split lib/data into auth + cards, remove dead configs#111
Pyronewbic merged 2 commits into
mainfrom
dev

Conversation

@Pyronewbic

Copy link
Copy Markdown
Owner

Summary

  • Split lib/data/ (12 files) into lib/auth/ (2) + lib/cards/ (5) + lib/data/ (5 utilities)
  • Removed dead cloudbuild.yml and docker-compose.yml
  • All imports updated, 212 unit tests pass

Test plan

  • node test/unit-test.js — 212 pass
  • CI unit + codeql pass
  • Server starts cleanly

- lib/auth/ — auth.js, api-keys.js (was lib/data/)
- lib/cards/ — card-database, card-identity, demo, price-history, grading-dataset (was lib/data/)
- lib/data/ keeps storage + utility modules (firestore, cache, analytics, csv, email)
- Removed cloudbuild.yml (replaced by deploy.yml) and docker-compose.yml (no Redis)
- All imports updated across api.js, index.js, test/unit-test.js
@Pyronewbic Pyronewbic merged commit 61d2bbc into main May 15, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant