Add Nix Shell Env

This commit is contained in:
zuma 2025-02-11 22:21:16 +01:00
parent e24049b1fb
commit 36439c0837
4 changed files with 75 additions and 4 deletions

View file

@ -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