const postFakeCategories = [ { name: "Utilities" }, { name: "Automotive:Gasoline" }, { name: "Groceries:Food" } ]; const postFakeMerchants = [ { name: "Walmart" }, { name: "Casey's" }, { name: "Electric Company" } ]; const postFakeTags = [ { name: "Truck" }, { name: "Van" } ]; const postFakeExpenses = [ { year: "2025", month: "12", day: "28", cents: 12153, category: { name: "Utilities" }, merchant: { name: "Electric Company" } }, { year: "2025", month: "12", day: "31", cents: 5500, category: { name: "Automotive:Gasoline" }, merchant: { name: "Casey's" }, tags: [ { name: "Truck" } ] } ]; console.log({ postFakeCategories, postFakeMerchants, postFakeTags, postFakeExpenses }); // async function fetchData(url) { // try { // const response = await fetch(url); // if (!response.ok) { // throw new Error('Network response was not ok'); // } // const data = await response.json(); // Wait for the JSON data to be parsed // console.log(data); // } catch (error) { // console.error('Error:', error); // } // } // // Call the async function // fetchData('https://api.example.com/data');