Add Nix Shell Env
This commit is contained in:
parent
e24049b1fb
commit
36439c0837
4 changed files with 75 additions and 4 deletions
|
@ -10,7 +10,7 @@ console.log('Status Code:', scryfallSets.status);
|
|||
const sets = await scryfallSets.json();
|
||||
|
||||
// Read the data from the exported fr_cards.json extracted from Scryfall Bulk Data
|
||||
const fileBytes = fs.readFileSync(import.meta.dirname + '/data/default-cards-20241210100712.json')
|
||||
const fileBytes = fs.readFileSync(import.meta.dirname + '/data/scryfall_data.json')
|
||||
let scryfallData = JSON.parse(fileBytes)
|
||||
|
||||
// Connect to postgres database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue