mathewmorris / magic-vault

Magic Vault: A web app for managing and playtesting your Magic the Gathering card collection.
https://magic-vault.mathewmorris.com
0 stars 0 forks source link

[feature][implementation]: I can lookup a card #8

Closed mathewmorris closed 8 months ago

mathewmorris commented 10 months ago
vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
magic-vault ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 8:35am
mathewmorris commented 10 months ago

I can search for a card in a database I populate with bulk data from Scryfall.

This is locally though.

this completes the first two items.

Next is to add more data types to prisma schema. I intially tried by using @json, but it didn't seem to work easily. Once this is finished I can show images and other information in the results.

The python script does this:

This is O(n) on the insertions, I'd like to figure out the best approach to adding this HUGE json file's data to my db without making it cost a ton or use up a bunch of my query budget (since I get so many per month on the hobby plan).